netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] can: dev: fix semicolon.cocci warnings
       [not found] <201501161614.VyaaG8DL%fengguang.wu@intel.com>
@ 2015-01-16  8:52 ` kbuild test robot
  2015-01-16  8:56   ` Marc Kleine-Budde
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2015-01-16  8:52 UTC (permalink / raw)
  To: Andri Yngvason
  Cc: kbuild-all, Marc Kleine-Budde, Wolfgang Grandegger, linux-can,
	netdev, linux-kernel

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

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

--- a/drivers/net/can/dev.c
+++ b/drivers/net/can/dev.c
@@ -291,7 +291,7 @@ static void can_update_state_error_stats
 	case CAN_STATE_BUS_OFF:
 	default:
 		break;
-	};
+	}
 }
 
 static int can_tx_state_to_frame(struct net_device *dev, enum can_state state)

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

* Re: [PATCH] can: dev: fix semicolon.cocci warnings
  2015-01-16  8:52 ` [PATCH] can: dev: fix semicolon.cocci warnings kbuild test robot
@ 2015-01-16  8:56   ` Marc Kleine-Budde
  0 siblings, 0 replies; 2+ messages in thread
From: Marc Kleine-Budde @ 2015-01-16  8:56 UTC (permalink / raw)
  To: kbuild test robot, Andri Yngvason
  Cc: kbuild-all, Wolfgang Grandegger, linux-can, netdev, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 627 bytes --]

On 01/16/2015 09:52 AM, kbuild test robot wrote:
> 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>

Tnx, applied to can/master.

Marc
-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

end of thread, other threads:[~2015-01-16  8:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <201501161614.VyaaG8DL%fengguang.wu@intel.com>
2015-01-16  8:52 ` [PATCH] can: dev: fix semicolon.cocci warnings kbuild test robot
2015-01-16  8:56   ` Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).