net: phy: fix semicolon.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Mon, 17 Aug 2015 22:31:42 +0000 (06:31 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Aug 2015 22:53:06 +0000 (15:53 -0700)
drivers/net/phy/smsc.c:127:3-4: Unneeded semicolon

 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Igor Plyatov <plyatov@gmail.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/smsc.c

index d64f01623bd1b10c0e4771f51f39a6c5b29fd1fc..70b08958763a129fff47ad00a1db130c1334f254 100644 (file)
@@ -124,7 +124,7 @@ static int lan87xx_read_status(struct phy_device *phydev)
                                return rc;
                        if (rc & MII_LAN83C185_ENERGYON)
                                break;
-               };
+               }
 
                /* Re-enable EDPD */
                rc = phy_read(phydev, MII_LAN83C185_CTRL_STATUS);