]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: mt7621-eth: Remove unnecessary blank lines
authorKamal Heib <kamalheib1@gmail.com>
Mon, 7 May 2018 09:05:56 +0000 (12:05 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 May 2018 11:53:43 +0000 (13:53 +0200)
Remove un-necessary blank lines to solve errors found by checkpatch.pl.

Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-eth/ethtool.c
drivers/staging/mt7621-eth/gsw_mt7621.c
drivers/staging/mt7621-eth/soc_mt7621.c

index 5268c5ca097defbfd225718fe8a0a3d02053416b..7c059cd94e56b198acb7440d52fc469ac4e9591e 100644 (file)
@@ -63,7 +63,6 @@ static int mtk_set_link_ksettings(struct net_device *dev,
        }
 
        return phy_ethtool_ksettings_set(mac->phy_dev, cmd);
-
 }
 
 static void mtk_get_drvinfo(struct net_device *dev,
index ce8d7d7577c793088424fa889661aff17e1df1ed..04af39c757bd4f4af4cad41cbfb5ee515f306f44 100644 (file)
@@ -208,13 +208,11 @@ static void mt7621_hw_init(struct mtk_eth *eth, struct mt7620_gsw *gsw,
 
                for (i = 0; i < MT7530_NUM_PORTS; i++)
                        mt7530_mdio_w32(gsw, REG_ESW_PORT_PVC(i), 0x810000c0);
-
        }
 
        /* enable irq */
        mt7530_mdio_m32(gsw, 0, 3 << 16, MT7530_TOP_SIG_CTRL);
        mt7530_mdio_w32(gsw, MT7530_SYS_INT_EN, 0x1f);
-
 }
 
 static const struct of_device_id mediatek_gsw_match[] = {
index 743c0eed89b670d89dc657989c4d0e1b85386729..3dd7d8d893de164a3b7ffbf38a58e6043ac88457 100644 (file)
@@ -50,7 +50,6 @@
 #define GSW_REG_GDMA2_MAC_ADRL 0x1508
 #define GSW_REG_GDMA2_MAC_ADRH 0x150C
 
-
 #define MT7621_MTK_RST_GL      0x04
 #define MT7620_MTK_INT_STATUS2 0x08