Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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));