Commit 11b3412c authored by YueHaibing's avatar YueHaibing Committed by David S. Miller

net: mediatek: remove unneeded semicolon

remove unneeded semicolon.
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent acf5133b
...@@ -57,7 +57,7 @@ static int set_mux_gdm1_to_gmac1_esw(struct mtk_eth *eth, int path) ...@@ -57,7 +57,7 @@ static int set_mux_gdm1_to_gmac1_esw(struct mtk_eth *eth, int path)
default: default:
updated = false; updated = false;
break; break;
}; }
if (updated) { if (updated) {
val = mtk_r32(eth, MTK_MAC_MISC); 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) ...@@ -143,7 +143,7 @@ static int set_mux_gmac1_gmac2_to_sgmii_rgmii(struct mtk_eth *eth, int path)
default: default:
updated = false; updated = false;
break; break;
}; }
if (updated) if (updated)
regmap_update_bits(eth->ethsys, ETHSYS_SYSCFG0, 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) ...@@ -174,7 +174,7 @@ static int set_mux_gmac12_to_gephy_sgmii(struct mtk_eth *eth, int path)
break; break;
default: default:
updated = false; updated = false;
}; }
if (updated) if (updated)
regmap_update_bits(eth->ethsys, ETHSYS_SYSCFG0, regmap_update_bits(eth->ethsys, ETHSYS_SYSCFG0,
......
...@@ -93,7 +93,7 @@ int mtk_sgmii_setup_mode_force(struct mtk_sgmii *ss, int id, ...@@ -93,7 +93,7 @@ int mtk_sgmii_setup_mode_force(struct mtk_sgmii *ss, int id,
case SPEED_1000: case SPEED_1000:
val |= SGMII_SPEED_1000; val |= SGMII_SPEED_1000;
break; break;
}; }
if (state->duplex == DUPLEX_FULL) if (state->duplex == DUPLEX_FULL)
val |= SGMII_DUPLEX_FULL; val |= SGMII_DUPLEX_FULL;
......
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