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


Groups > linux.kernel > #1208927

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

Path csiph.com!goblin1!goblin2!goblin.stu.neva.ru!gothmog.csi.it!bofh.it!news.nic.it!robomod
From kbuild test robot <fengguang.wu@intel.com>
Newsgroups linux.kernel
Subject [PATCH] net: phy: fix semicolon.cocci warnings
Date Tue, 18 Aug 2015 00:40:02 +0200
Message-ID <pYBeq-407-9@gated-at.bofh.it> (permalink)
References <pYBeq-407-11@gated-at.bofh.it>
X-Original-To Igor Plyatov <plyatov@gmail.com>
X-Extloop1 1
X-Ironport-Av E=Sophos;i="5.15,697,1432623600"; d="scan'208";a="543696663"
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.23 (2014-03-12)
X-Sa-Exim-Connect-IP <locally generated>
X-Sa-Exim-Mail-From fengguang.wu@intel.com
X-Sa-Exim-Scanned No (on bee); SAEximRunCond expanded to false
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 30
Organization linux.* mail to news gateway
X-Original-Cc kbuild-all@01.org, netdev@vger.kernel.org, Florian Fainelli <f.fainelli@gmail.com>, linux-kernel@vger.kernel.org
X-Original-Date Tue, 18 Aug 2015 06:31:42 +0800
X-Original-Message-ID <20150817223142.GA26176@athens>
X-Original-References <201508180640.tFfxPCXM%fengguang.wu@intel.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1208927

Show key headers only | 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 | Next — Next 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