can: dev: fix semicolon.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Fri, 16 Jan 2015 08:52:21 +0000 (16:52 +0800)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 21 Jan 2015 21:47:43 +0000 (22:47 +0100)
drivers/net/can/dev.c:294:2-3: Unneeded semicolon

 Removes unneeded semicolon.

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

Cc: Andri Yngvason <andri.yngvason@marel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/dev.c

index e54dbc1a76ba0ddc12f9a4e1de110758fa868f0f..6ac02c8d747e0a9a9da3e453f736356b8cf3664b 100644 (file)
@@ -293,7 +293,7 @@ static void can_update_state_error_stats(struct net_device *dev,
                break;
        default:
                break;
-       };
+       }
 }
 
 static int can_tx_state_to_frame(struct net_device *dev, enum can_state state)