[PATCH] iio: chemical: fix semicolon.cocci warnings
From: kbuild test robot
Date: Sun Dec 09 2018 - 23:23:39 EST
From: kbuild test robot <fengguang.wu@xxxxxxxxx>
drivers/iio/chemical/sps30.c:115:2-3: Unneeded semicolon
Remove unneeded semicolon.
Generated by: scripts/coccinelle/misc/semicolon.cocci
Fixes: 2453f6006a69 ("iio: chemical: add support for Sensirion SPS30 sensor")
CC: Tomasz Duszynski <tduszyns@xxxxxxxxx>
Signed-off-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
---
url: https://github.com/0day-ci/linux/commits/Tomasz-Duszynski/add-support-for-Sensirion-SPS30-PM-sensor/20181209-204432
base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
sps30.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/iio/chemical/sps30.c
+++ b/drivers/iio/chemical/sps30.c
@@ -112,7 +112,7 @@ static int sps30_do_cmd(struct sps30_sta
size += size / 2;
ret = sps30_write_then_read(state, buf, 2, buf, size);
break;
- };
+ }
if (ret)
return ret;