Skip to content

Commit 269ecc0

Browse files
Yang LiJiri Kosina
authored andcommitted
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 <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent 1c4d6cd commit 269ecc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hid/i2c-hid/i2c-hid-core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ static int i2c_hid_set_or_send_report(struct i2c_hid *ihid,
354354
* With simple "send report" all data goes into the output
355355
* register.
356356
*/
357-
*(__le16 *)ihid->cmdbuf = ihid->hdesc.wOutputRegister;;
357+
*(__le16 *)ihid->cmdbuf = ihid->hdesc.wOutputRegister;
358358
length += sizeof(__le16);
359359
}
360360

0 commit comments

Comments
 (0)