]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: wlan-ng: remove unnecessary blank lines in prism2fw.c
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Mon, 7 Nov 2016 17:55:27 +0000 (18:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2016 12:25:33 +0000 (13:25 +0100)
This patch removes unnecessary blank lines in prism2fw.c file to
comply with the standard kernel coding style.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/prism2fw.c

index 68c894bf5ffc5fd2dee9f2a8bb6806b1c6be8f5a..2ea96bef80223d0f7df3bc2ceae1ad2522638733 100644 (file)
@@ -443,7 +443,6 @@ static int crcimage(struct imgchunk *fchunk, unsigned int nfchunks,
                dest = fchunk[c].data + chunkoff;
                *dest = 0xde;
                *(dest + 1) = 0xc0;
-
        }
        return result;
 }
@@ -469,7 +468,6 @@ static void free_chunks(struct imgchunk *fchunk, unsigned int *nfchunks)
 
        *nfchunks = 0;
        memset(fchunk, 0, sizeof(*fchunk));
-
 }
 
 /*----------------------------------------------------------------
@@ -645,7 +643,6 @@ static int mkpdrlist(struct pda *pda)
 
                (pda->nrec)++;
                curroff += le16_to_cpu(pda16[curroff]) + 1;
-
        }
        if (curroff >= (HFA384x_PDA_LEN_MAX / 2 - 1)) {
                pr_err("no end record found or invalid lengths in PDR data, exiting. %x %d\n",
@@ -761,7 +758,6 @@ static int plugimage(struct imgchunk *fchunk, unsigned int nfchunks,
                }
        }
        return result;
-
 }
 
 /*----------------------------------------------------------------
@@ -890,7 +886,6 @@ static int read_fwfile(const struct ihex_binrec *record)
        pr_debug("Reading fw file ...\n");
 
        while (record) {
-
                rcnt++;
 
                len = be16_to_cpu(record->len);
@@ -1118,7 +1113,6 @@ static int writeimage(struct wlandevice *wlandev, struct imgchunk *fchunk,
                                result = 1;
                                goto free_result;
                        }
-
                }
        }