diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-10-25 17:13:08 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-28 16:36:24 -0700 |
commit | 11b3412cef89cb5c1937ddb744e84614a7b1f564 (patch) | |
tree | 4e36db8a46ebc7bf1d893f659909d00c7d2375b0 /drivers/net/ethernet/mediatek | |
parent | acf5133b1d27edca6aee2a82cb2ffb2bc7c58468 (diff) | |
download | linux-11b3412cef89cb5c1937ddb744e84614a7b1f564.tar.gz linux-11b3412cef89cb5c1937ddb744e84614a7b1f564.tar.bz2 linux-11b3412cef89cb5c1937ddb744e84614a7b1f564.zip |
net: mediatek: remove unneeded semicolon
remove unneeded semicolon.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mediatek')
-rw-r--r-- | drivers/net/ethernet/mediatek/mtk_eth_path.c | 6 | ||||
-rw-r--r-- | drivers/net/ethernet/mediatek/mtk_sgmii.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ethernet/mediatek/mtk_eth_path.c b/drivers/net/ethernet/mediatek/mtk_eth_path.c index ef11cf3d1ccc..0fe97155dd8f 100644 --- a/drivers/net/ethernet/mediatek/mtk_eth_path.c +++ b/drivers/net/ethernet/mediatek/mtk_eth_path.c @@ -57,7 +57,7 @@ static int set_mux_gdm1_to_gmac1_esw(struct mtk_eth *eth, int path) default: updated = false; break; - }; + } if (updated) { val = mtk_r32(eth, MTK_MAC_MISC); @@ -143,7 +143,7 @@ static int set_mux_gmac1_gmac2_to_sgmii_rgmii(struct mtk_eth *eth, int path) default: updated = false; break; - }; + } if (updated) regmap_update_bits(eth->ethsys, ETHSYS_SYSCFG0, @@ -174,7 +174,7 @@ static int set_mux_gmac12_to_gephy_sgmii(struct mtk_eth *eth, int path) break; default: updated = false; - }; + } if (updated) regmap_update_bits(eth->ethsys, ETHSYS_SYSCFG0, diff --git a/drivers/net/ethernet/mediatek/mtk_sgmii.c b/drivers/net/ethernet/mediatek/mtk_sgmii.c index 4db27dfc7ec1..32d83421226a 100644 --- a/drivers/net/ethernet/mediatek/mtk_sgmii.c +++ b/drivers/net/ethernet/mediatek/mtk_sgmii.c @@ -93,7 +93,7 @@ int mtk_sgmii_setup_mode_force(struct mtk_sgmii *ss, int id, case SPEED_1000: val |= SGMII_SPEED_1000; break; - }; + } if (state->duplex == DUPLEX_FULL) val |= SGMII_DUPLEX_FULL; |