Skip to contentSkip to conversation

mfd: madera: Remove spurious semicolon in while loop

PATCH Applied Richard Fitzgerald 2 participants 2 messages Dec 14, 2018 – Dec 21, 2018

Subsystems (2)
lore
Share & tools
lore

Richard Fitzgerald

author maintainer
#0 lore raw

PATCH 1/1 mfd: madera: Remove spurious semicolon in while loop

Coccinelle warning of a spurious semicolon on the closing brace of a while loop.

---
 drivers/mfd/madera-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/madera-core.c +1 -1
index 5b58a8aea902..2a77988d0462 100644
@@ -154,11 +154,11 @@ static int madera_wait_for_boot(struct madera *madera)
 	while (!(val & MADERA_BOOT_DONE_STS1) &&
 	       !ktime_after(ktime_get(), timeout)) {
 		usleep_range(MADERA_BOOT_POLL_INTERVAL_USEC / 2,
 			     MADERA_BOOT_POLL_INTERVAL_USEC);
 		regmap_read(madera->regmap, MADERA_IRQ1_RAW_STATUS_1, &val);
-	};
+	}
 
 	if (!(val & MADERA_BOOT_DONE_STS1)) {
 		dev_err(madera->dev, "Polling BOOT_DONE_STS timed out\n");
 		ret = -ETIMEDOUT;
 	}
Signature · 1 line
2.11.0
Applied
#1 lore raw
Quoted 7 lines · Richard Fitzgerald

Coccinelle warning of a spurious semicolon on the closing brace of a while loop.

---
 drivers/mfd/madera-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Signature · 4 lines
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog