forked from luck/tmp_suning_uos_patched
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:
parent
acf5133b1d
commit
11b3412cef
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user