Commit 42d82b50 authored by Kamal Heib's avatar Kamal Heib Committed by Greg Kroah-Hartman

staging: mt7621-eth: Remove unnecessary blank lines

Remove un-necessary blank lines to solve errors found by checkpatch.pl.
Signed-off-by: default avatarKamal Heib <kamalheib1@gmail.com>
Reviewed-by: default avatarNeilBrown <neil@brown.name>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9cecd920
...@@ -63,7 +63,6 @@ static int mtk_set_link_ksettings(struct net_device *dev, ...@@ -63,7 +63,6 @@ static int mtk_set_link_ksettings(struct net_device *dev,
} }
return phy_ethtool_ksettings_set(mac->phy_dev, cmd); return phy_ethtool_ksettings_set(mac->phy_dev, cmd);
} }
static void mtk_get_drvinfo(struct net_device *dev, static void mtk_get_drvinfo(struct net_device *dev,
......
...@@ -208,13 +208,11 @@ static void mt7621_hw_init(struct mtk_eth *eth, struct mt7620_gsw *gsw, ...@@ -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++) for (i = 0; i < MT7530_NUM_PORTS; i++)
mt7530_mdio_w32(gsw, REG_ESW_PORT_PVC(i), 0x810000c0); mt7530_mdio_w32(gsw, REG_ESW_PORT_PVC(i), 0x810000c0);
} }
/* enable irq */ /* enable irq */
mt7530_mdio_m32(gsw, 0, 3 << 16, MT7530_TOP_SIG_CTRL); mt7530_mdio_m32(gsw, 0, 3 << 16, MT7530_TOP_SIG_CTRL);
mt7530_mdio_w32(gsw, MT7530_SYS_INT_EN, 0x1f); mt7530_mdio_w32(gsw, MT7530_SYS_INT_EN, 0x1f);
} }
static const struct of_device_id mediatek_gsw_match[] = { static const struct of_device_id mediatek_gsw_match[] = {
......
...@@ -50,7 +50,6 @@ ...@@ -50,7 +50,6 @@
#define GSW_REG_GDMA2_MAC_ADRL 0x1508 #define GSW_REG_GDMA2_MAC_ADRL 0x1508
#define GSW_REG_GDMA2_MAC_ADRH 0x150C #define GSW_REG_GDMA2_MAC_ADRH 0x150C
#define MT7621_MTK_RST_GL 0x04 #define MT7621_MTK_RST_GL 0x04
#define MT7620_MTK_INT_STATUS2 0x08 #define MT7620_MTK_INT_STATUS2 0x08
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment