HID: i2c-hid: remove unneeded semicolon
PATCH 1/1 HID: i2c-hid: remove unneeded semicolon
Eliminate the following coccicheck warning:
./drivers/hid/i2c-hid/i2c-hid-core.c:357:56-57: Unneeded semicolon
Reported-by Abaci Robot <[email protected]>
Signed-off-by Yang Li <[email protected]>
--- drivers/hid/i2c-hid/i2c-hid-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hid/i2c-hid/i2c-hid-core.c +1 -1
@@ -354,7 +354,7 @@ static int i2c_hid_set_or_send_report(struct i2c_hid *ihid,* With simple "send report" all data goes into the output * register. */ - *(__le16 *)ihid->cmdbuf = ihid->hdesc.wOutputRegister;; + *(__le16 *)ihid->cmdbuf = ihid->hdesc.wOutputRegister; length +=sizeof (__le16); }
Signature · 1 line
2.20.1.7.g153144c
Jiri Kosina
maintainerQuoted 14 lines · Yang Li
Eliminate the following coccicheck warning:
./drivers/hid/i2c-hid/i2c-hid-core.c:357:56-57: Unneeded semicolonReported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>--- drivers/hid/i2c-hid/i2c-hid-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/hid/i2c-hid/i2c-hid-core.c +0
-0
drivers/hid/i2c-hid/i2c-hid-core.c static int i2c_hid_set_or_send_report(struct i2c_hid *ihid, · line 359
Quoted 7 lines
drivers/hid/i2c-hid/i2c-hid-core.c +1
-1@@ -354,7 +354,7 @@ static int i2c_hid_set_or_send_report(struct i2c_hid *ihid,* With simple "send report" all data goes into the output * register. */ - *(__le16 *)ihid->cmdbuf = ihid->hdesc.wOutputRegister;; + *(__le16 *)ihid->cmdbuf = ihid->hdesc.wOutputRegister; length +=sizeof (__le16); }
Thanks, that was me fat-fingering the fixup in the original patch. Applied.
Signature · 2 lines
Jiri Kosina SUSE Labs