]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: slicoss: Removes multiple blank lines
authorAmarjargal Gundjalam <amarjargal.gundjalam@gmail.com>
Sun, 25 Oct 2015 14:48:54 +0000 (07:48 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 05:43:31 +0000 (14:43 +0900)
This patch fixes the checkpatch.pl check:

CHECK: Please don't use multiple blank lines

Signed-off-by: Amarjargal Gundjalam <amarjargal.gundjalam@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/slicoss/slic.h
drivers/staging/slicoss/slicoss.c

index 00b8af63e7fff45abcd5a6f872646616c1017524..6ccd1d5394e9dcdd049826d07ed9ea91f12f1f19 100644 (file)
@@ -166,7 +166,6 @@ struct slic_cmdqueue {
 #define SLIC_MAX_CARDS              32
 #define SLIC_MAX_PORTS              4        /* Max # of ports per card   */
 
-
 struct mcast_address {
        unsigned char address[6];
        struct mcast_address *next;
@@ -485,7 +484,6 @@ struct adapter {
        struct slicnet_stats     slic_stats;
 };
 
-
 #define UPDATE_STATS(largestat, newstat, oldstat)                        \
 {                                                                        \
        if ((newstat) < (oldstat))                                       \
index 36001762fe2097418b2526e99ee0b90e69529605..a226055ef2643ae384b4fb405a38c7d03be729ae 100644 (file)
@@ -54,7 +54,6 @@
  *       IS-NIC driver.
  */
 
-
 #define KLUDGE_FOR_4GB_BOUNDARY         1
 #define DEBUG_MICROCODE                 1
 #define DBG                             1
@@ -1149,7 +1148,6 @@ static u16 slic_eeprom_cksum(void *eeprom, unsigned len)
        if (len > 0)
                checksum += *(u8 *) wp;
 
-
        while (checksum >> 16)
                checksum = (checksum & 0xFFFF) + ((checksum >> 16) & 0xFFFF);
 
@@ -2131,7 +2129,6 @@ static void slic_interrupt_card_up(u32 isr, struct adapter *adapter,
        }
 }
 
-
 static irqreturn_t slic_interrupt(int irq, void *dev_id)
 {
        struct net_device *dev = dev_id;
@@ -2228,7 +2225,6 @@ xmit_fail:
        goto xmit_done;
 }
 
-
 static void slic_adapter_freeresources(struct adapter *adapter)
 {
        slic_init_cleanup(adapter);
@@ -3099,7 +3095,6 @@ static int slic_entry_probe(struct pci_dev *pcidev,
        mmio_start = pci_resource_start(pcidev, 0);
        mmio_len = pci_resource_len(pcidev, 0);
 
-
 /*     memmapped_ioaddr =  (u32)ioremap_nocache(mmio_start, mmio_len);*/
        memmapped_ioaddr = ioremap(mmio_start, mmio_len);
        if (!memmapped_ioaddr) {