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

Started by Julia Lawall on Nov 14, 2016

DORMANTno replies

open the first message on its own page

Message details and related content
 Remove unneeded semicolon.

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

CC: Akshay Bhat <redacted>
Signed-off-by: Julia Lawall <redacted>
Signed-off-by: Fengguang Wu <redacted>
---

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(-)
--- 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);
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help