phy: ti: fix semicolon.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Sun, 9 Dec 2018 14:20:03 +0000 (22:20 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 12 Dec 2018 04:31:52 +0000 (10:01 +0530)
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 <grygorii.strashko@ti.com>
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/ti/phy-gmii-sel.c

index 04ebf53d2b325cfc5d4678613657362680d696db..77fdaa5519772f55df8deafccbee86a8304b17a0 100644 (file)
@@ -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;