Staging: wlan-ng: fix brace coding style issue in prism2fw.c
authorJoseph Salisbury <salisbury.joseph@googlemail.com>
Sun, 5 Jun 2011 16:28:12 +0000 (17:28 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2011 21:31:16 +0000 (14:31 -0700)
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>
drivers/staging/wlan-ng/prism2fw.c

index 729d03d28d75169a66c1b5d1e13ed5ccb785a645..3c40096f0c05c0ec290cdcb1f495934c57e8d264 100644 (file)
@@ -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));