lkml.org 
[lkml]   [2018]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] iio: chemical: fix semicolon.cocci warnings
From: kbuild test robot <fengguang.wu@intel.com>

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@gmail.com>
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---

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;
\
 
 \ /
  Last update: 2018-12-10 05:24    [W:0.111 / U:7.252 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site