lkml.org 
[lkml]   [2019]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] iio: common: cros_ec_sensors: fix semicolon.cocci warnings
From: kbuild test robot <lkp@intel.com>

drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c:89:41-42: Unneeded semicolon


Remove unneeded semicolon.

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

Fixes: a7862d65b738 ("iio: common: cros_ec_sensors: determine protocol version")
CC: Fabien Lahoudere <fabien.lahoudere@collabora.com>
Signed-off-by: kbuild test robot <lkp@intel.com>
---

url: https://github.com/0day-ci/linux/commits/Fabien-Lahoudere/iio-common-cros_ec_sensors-determine-protocol-version/20190701-223411
base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg

cros_ec_sensors_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c
+++ b/drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c
@@ -86,7 +86,7 @@ int cros_ec_sensors_core_init(struct pla
return -ENODEV;

/* Set up the host command structure. */
- state->msg->version = fls(ver_mask) - 1;;
+ state->msg->version = fls(ver_mask) - 1;
state->msg->command = EC_CMD_MOTION_SENSE_CMD + ec->cmd_offset;
state->msg->outsize = sizeof(struct ec_params_motion_sense);

\
 
 \ /
  Last update: 2019-07-01 22:55    [W:0.807 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site