From: kbuild test robot Date: Fri, 15 Nov 2019 22:38:34 +0000 (+0800) Subject: mscc.c: fix semicolon.cocci warnings X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1e8795b1b20d2721620165434cdcf427ecd2ba85;p=openwrt%2Fstaging%2Fblogic.git mscc.c: fix semicolon.cocci warnings drivers/net/phy/mscc.c:1683:3-4: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: 75a1ccfe6c72 ("mscc.c: Add support for additional VSC PHYs") CC: Bryan Whitehead Signed-off-by: kbuild test robot Signed-off-by: David S. Miller --- diff --git a/drivers/net/phy/mscc.c b/drivers/net/phy/mscc.c index aadee8db0ff8..d5f8f351d9ef 100644 --- a/drivers/net/phy/mscc.c +++ b/drivers/net/phy/mscc.c @@ -1680,7 +1680,7 @@ static int vsc8584_config_init(struct phy_device *phydev) default: ret = -EINVAL; break; - }; + } if (ret) goto err;