Skip to contentSkip to conversation

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

PATCH New Julia Lawall 1 participant 1 message Nov 14, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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

Remove unneeded semicolon.

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

---

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(-)
drivers/net/can/spi/hi311x.c +1 -1
@@ -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);