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: Joseph Salisbury <salisbury.joseph@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
7a2eaf9358
commit
23567c7528
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user