diff mbox

can: spi: hi311x: fix semicolon.cocci warnings (fwd)

Message ID alpine.DEB.2.20.1611142234330.2065@hadrien
State Awaiting Upstream, archived
Delegated to: David Miller
Headers show

Commit Message

Julia Lawall Nov. 14, 2016, 9:36 p.m. UTC
Remove unneeded semicolon.

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

CC: Akshay Bhat <akshay.bhat@timesys.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

It's a minor issue, but may as well fix it up now.  The tree this code is
from is as follows:

url:
https://github.com/0day-ci/linux/commits/Akshay-Bhat/can-holt_hi311x-documen
t-device-tree-bindings/20161115-034509
:::::: branch date: 2 hours ago
:::::: commit date: 2 hours ago

 hi311x.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

--- a/drivers/net/can/spi/hi311x.c
+++ b/drivers/net/can/spi/hi311x.c
@@ -673,7 +673,7 @@  static irqreturn_t hi3110_can_ist(int ir
 		while (!(HI3110_STAT_RXFMTY &
 			hi3110_read(spi, HI3110_READ_STATF))) {
 			hi3110_hw_rx(spi);
-		};
+		}

 		intf = hi3110_read(spi, HI3110_READ_INTF);
 		eflag = hi3110_read(spi, HI3110_READ_ERR);