Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1208927

[PATCH] net: phy: fix semicolon.cocci warnings

From kbuild test robot <fengguang.wu@intel.com>
Newsgroups linux.kernel
Subject [PATCH] net: phy: fix semicolon.cocci warnings
Date 2015-08-18 00:40 +0200
Message-ID <pYBeq-407-9@gated-at.bofh.it> (permalink)
References <pYBeq-407-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---

 smsc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/net/phy/smsc.c
+++ b/drivers/net/phy/smsc.c
@@ -124,7 +124,7 @@ static int lan87xx_read_status(struct ph
 				return rc;
 			if (rc & MII_LAN83C185_ENERGYON)
 				break;
-		};
+		}
 
 		/* Re-enable EDPD */
 		rc = phy_read(phydev, MII_LAN83C185_CTRL_STATUS);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] net: phy: fix semicolon.cocci warnings kbuild test robot <fengguang.wu@intel.com> - 2015-08-18 00:40 +0200
  Re: [PATCH] net: phy: fix semicolon.cocci warnings David Miller <davem@davemloft.net> - 2015-08-18 01:00 +0200

csiph-web