]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: wlan-ng/prism2fw.c: Add blank line after declarations
authorMatt Kurz <matt@ninezulu.com>
Tue, 1 Jul 2014 19:59:54 +0000 (05:59 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 18:59:51 +0000 (11:59 -0700)
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>
drivers/staging/wlan-ng/prism2fw.c

index f7870355c69fa4a63aeb94fa6da9df29ddbd9ffb..42c14b0b683381ab83be29f2e3a3a41608e2ad73 100644 (file)
@@ -445,6 +445,7 @@ static int crcimage(struct imgchunk *fchunk, unsigned int nfchunks,
 static void free_chunks(struct imgchunk *fchunk, unsigned int *nfchunks)
 {
        int i;
+
        for (i = 0; i < *nfchunks; i++)
                kfree(fchunk[i].data);
 
@@ -1060,6 +1061,7 @@ static int writeimage(wlandevice_t *wlandev, struct imgchunk *fchunk,
                for (j = 0; j < nwrites; j++) {
                        /* TODO Move this to a separate function */
                        int lenleft = fchunk[i].len - (WRITESIZE_MAX * j);
+
                        if (fchunk[i].len > WRITESIZE_MAX)
                                currlen = WRITESIZE_MAX;
                        else