Commit 23567c75 authored by Joseph Salisbury's avatar Joseph Salisbury Committed by Greg Kroah-Hartman

Staging: wlan-ng: fix brace coding style issue in prism2fw.c

This is a patch to the prism2fw.c file that fixes up a brace
warning found by the checkpatch.pl tool.
Signed-off-by: default avatarJoseph Salisbury <salisbury.joseph@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 7a2eaf93
...@@ -442,9 +442,9 @@ int crcimage(struct imgchunk *fchunk, unsigned int nfchunks, ...@@ -442,9 +442,9 @@ int crcimage(struct imgchunk *fchunk, unsigned int nfchunks,
void free_chunks(struct imgchunk *fchunk, unsigned int *nfchunks) void free_chunks(struct imgchunk *fchunk, unsigned int *nfchunks)
{ {
int i; int i;
for (i = 0; i < *nfchunks; i++) { for (i = 0; i < *nfchunks; i++)
kfree(fchunk[i].data); kfree(fchunk[i].data);
}
*nfchunks = 0; *nfchunks = 0;
memset(fchunk, 0, sizeof(*fchunk)); memset(fchunk, 0, sizeof(*fchunk));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment