From 1a3a09270668d92755cc6efe8e0395bbb3de8629 Mon Sep 17 00:00:00 2001 From: kbuild test robot Date: Sun, 9 Dec 2018 22:20:03 +0800 Subject: [PATCH] phy: ti: fix semicolon.cocci warnings drivers/phy/ti/phy-gmii-sel.c:91:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: 1811851f4e73 ("phy: ti: introduce phy-gmii-sel driver") CC: Grygorii Strashko Signed-off-by: kbuild test robot Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/ti/phy-gmii-sel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/ti/phy-gmii-sel.c b/drivers/phy/ti/phy-gmii-sel.c index 04ebf53d2b32..77fdaa551977 100644 --- a/drivers/phy/ti/phy-gmii-sel.c +++ b/drivers/phy/ti/phy-gmii-sel.c @@ -88,7 +88,7 @@ static int phy_gmii_sel_mode(struct phy *phy, enum phy_mode mode, int submode) "port%u: unsupported mode: \"%s\". Defaulting to MII.\n", if_phy->id, phy_modes(rgmii_id)); return -EINVAL; - }; + } if_phy->phy_if_mode = submode; -- 2.39.5