summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/dev.c
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2015-01-16 09:52:21 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2015-01-21 22:47:43 +0100
commit5b5ba2af82e07a11681d9908fef0f22c9eb70abb (patch)
treeac5423280c3a356636eb511ac95726c785018ce1 /drivers/net/can/dev.c
parentcan: move can_stats.bus_off++ from can_bus_off into can_change_state (diff)
downloadlinux-5b5ba2af82e07a11681d9908fef0f22c9eb70abb.tar.xz
linux-5b5ba2af82e07a11681d9908fef0f22c9eb70abb.zip
can: dev: fix semicolon.cocci warnings
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>
Diffstat (limited to 'drivers/net/can/dev.c')
-rw-r--r--drivers/net/can/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/dev.c b/drivers/net/can/dev.c
index e54dbc1a76ba..6ac02c8d747e 100644
--- a/drivers/net/can/dev.c
+++ b/drivers/net/can/dev.c
@@ -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)