Skip to contentSkip to conversation

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

PATCH In review Joseph Salisbury 2 participants 2 messages Jun 13, 2011 – Jul 5, 2011 Staging

lore
Share & tools
lore
#0 lore raw

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

From: Joseph Salisbury <[email protected]>

This is a patch to the prism2fw.c file that fixes up a brace warning found by the checkpatch.pl tool.

---
 drivers/staging/wlan-ng/prism2fw.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/wlan-ng/prism2fw.c +2 -2
index 729d03d..3c40096 100644
@@ -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));
 
Signature · 1 line
1.7.4.1