mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 19:07:52 +00:00
staging: wlan-ng/prism2fw.c: Add blank line after declarations
Fix checkpatch.pl warnings due to missing blank line after declarations Signed-off-by: Matt Kurz <matt@ninezulu.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9630f6b97a
commit
1177ce46a1
1 changed files with 2 additions and 0 deletions
|
@ -445,6 +445,7 @@ static int crcimage(struct imgchunk *fchunk, unsigned int nfchunks,
|
||||||
static void free_chunks(struct imgchunk *fchunk, unsigned int *nfchunks)
|
static void free_chunks(struct imgchunk *fchunk, unsigned int *nfchunks)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < *nfchunks; i++)
|
for (i = 0; i < *nfchunks; i++)
|
||||||
kfree(fchunk[i].data);
|
kfree(fchunk[i].data);
|
||||||
|
|
||||||
|
@ -1060,6 +1061,7 @@ static int writeimage(wlandevice_t *wlandev, struct imgchunk *fchunk,
|
||||||
for (j = 0; j < nwrites; j++) {
|
for (j = 0; j < nwrites; j++) {
|
||||||
/* TODO Move this to a separate function */
|
/* TODO Move this to a separate function */
|
||||||
int lenleft = fchunk[i].len - (WRITESIZE_MAX * j);
|
int lenleft = fchunk[i].len - (WRITESIZE_MAX * j);
|
||||||
|
|
||||||
if (fchunk[i].len > WRITESIZE_MAX)
|
if (fchunk[i].len > WRITESIZE_MAX)
|
||||||
currlen = WRITESIZE_MAX;
|
currlen = WRITESIZE_MAX;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue