Skip to content

Commit

Permalink
Staging: wlan-ng: fix brace coding style issue in prism2fw.c
Browse files Browse the repository at this point in the history
This is a patch to the prism2fw.c file that fixes up a brace
warning found by the checkpatch.pl tool.

Signed-off-by: Joseph Salisbury <salisbury.joseph@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Joseph Salisbury authored and Greg Kroah-Hartman committed Jun 28, 2011
1 parent 7a2eaf9 commit 23567c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/wlan-ng/prism2fw.c
Original file line number Diff line number Diff line change
Expand Up @@ -442,9 +442,9 @@ int crcimage(struct imgchunk *fchunk, unsigned int nfchunks,
void free_chunks(struct imgchunk *fchunk, unsigned int *nfchunks)
{
int i;
for (i = 0; i < *nfchunks; i++) {
for (i = 0; i < *nfchunks; i++)
kfree(fchunk[i].data);
}

*nfchunks = 0;
memset(fchunk, 0, sizeof(*fchunk));

Expand Down

0 comments on commit 23567c7

Please sign in to comment.