diff mbox

cx82310_eth: fix semicolon.cocci warnings

Message ID 20150324015132.GA5293@athens
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

kbuild test robot March 24, 2015, 1:51 a.m. UTC
drivers/net/usb/cx82310_eth.c:175:2-3: Unneeded semicolon


 Removes unneeded semicolon.

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

CC: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

David Miller March 24, 2015, 6:56 p.m. UTC | #1
From: kbuild test robot <fengguang.wu@intel.com>
Date: Tue, 24 Mar 2015 09:51:32 +0800

> drivers/net/usb/cx82310_eth.c:175:2-3: Unneeded semicolon
> 
>  Removes unneeded semicolon.
> 
> Generated by: scripts/coccinelle/misc/semicolon.cocci
> 
> CC: Ondrej Zary <linux@rainbow-software.org>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- a/drivers/net/usb/cx82310_eth.c
+++ b/drivers/net/usb/cx82310_eth.c
@@ -172,7 +172,7 @@  static int cx82310_bind(struct usbnet *d
 		if (!ret && link[0] == 1 && link[2] == 1)
 			break;
 		msleep(500);
-	};
+	}
 	if (!timeout) {
 		dev_err(&udev->dev, "firmware not ready in time\n");
 		return -ETIMEDOUT;