diff options
author | Kamal Heib <kamalheib1@gmail.com> | 2018-05-07 12:05:56 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-08 13:53:43 +0200 |
commit | 42d82b5015ab0b5ee2dac4ebf8d0ecfece578588 (patch) | |
tree | 7333c626ae998fd415248f8ff9f5e837e19f9fab /drivers/staging/mt7621-eth | |
parent | 9cecd920a5032feb513ff955fcc4fea8bd82d537 (diff) | |
download | linux-stable-42d82b5015ab0b5ee2dac4ebf8d0ecfece578588.tar.gz linux-stable-42d82b5015ab0b5ee2dac4ebf8d0ecfece578588.tar.bz2 linux-stable-42d82b5015ab0b5ee2dac4ebf8d0ecfece578588.zip |
staging: mt7621-eth: Remove unnecessary blank lines
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>
Diffstat (limited to 'drivers/staging/mt7621-eth')
-rw-r--r-- | drivers/staging/mt7621-eth/ethtool.c | 1 | ||||
-rw-r--r-- | drivers/staging/mt7621-eth/gsw_mt7621.c | 2 | ||||
-rw-r--r-- | drivers/staging/mt7621-eth/soc_mt7621.c | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/mt7621-eth/ethtool.c b/drivers/staging/mt7621-eth/ethtool.c index 5268c5ca097d..7c059cd94e56 100644 --- a/drivers/staging/mt7621-eth/ethtool.c +++ b/drivers/staging/mt7621-eth/ethtool.c @@ -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, diff --git a/drivers/staging/mt7621-eth/gsw_mt7621.c b/drivers/staging/mt7621-eth/gsw_mt7621.c index ce8d7d7577c7..04af39c757bd 100644 --- a/drivers/staging/mt7621-eth/gsw_mt7621.c +++ b/drivers/staging/mt7621-eth/gsw_mt7621.c @@ -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[] = { diff --git a/drivers/staging/mt7621-eth/soc_mt7621.c b/drivers/staging/mt7621-eth/soc_mt7621.c index 743c0eed89b6..3dd7d8d893de 100644 --- a/drivers/staging/mt7621-eth/soc_mt7621.c +++ b/drivers/staging/mt7621-eth/soc_mt7621.c @@ -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 |