The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] net: phy: fix semicolon.cocci warnings
       [not found] <201508180640.tFfxPCXM%fengguang.wu@intel.com>
@ 2015-08-17 22:31 ` kbuild test robot
  2015-08-17 22:53   ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2015-08-17 22:31 UTC (permalink / raw)
  To: Igor Plyatov; +Cc: kbuild-all, netdev, Florian Fainelli, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: phy: fix semicolon.cocci warnings
  2015-08-17 22:31 ` [PATCH] net: phy: fix semicolon.cocci warnings kbuild test robot
@ 2015-08-17 22:53   ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2015-08-17 22:53 UTC (permalink / raw)
  To: fengguang.wu; +Cc: plyatov, kbuild-all, netdev, f.fainelli, linux-kernel

From: kbuild test robot <fengguang.wu@intel.com>
Date: Tue, 18 Aug 2015 06:31:42 +0800

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

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-17 22:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <201508180640.tFfxPCXM%fengguang.wu@intel.com>
2015-08-17 22:31 ` [PATCH] net: phy: fix semicolon.cocci warnings kbuild test robot
2015-08-17 22:53   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox