net: mediatek: remove unneeded semicolon

remove unneeded semicolon.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
YueHaibing 2019-10-25 17:13:08 +08:00 committed by David S. Miller
parent acf5133b1d
commit 11b3412cef
2 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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;