diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2022-02-16 09:50:42 +0800 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2022-02-16 16:30:00 +0100 |
commit | 269ecc0c894c6db7ea13ae076c01bd24e87b15e6 (patch) | |
tree | 1ba864932819f8f24cd8dc79b3960901afc02b38 /drivers/hid/i2c-hid | |
parent | 1c4d6cd4cb48ae5d097c610a5ca4bd15e9f41bfb (diff) | |
download | lwn-269ecc0c894c6db7ea13ae076c01bd24e87b15e6.tar.gz lwn-269ecc0c894c6db7ea13ae076c01bd24e87b15e6.zip |
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>
Diffstat (limited to 'drivers/hid/i2c-hid')
-rw-r--r-- | drivers/hid/i2c-hid/i2c-hid-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/i2c-hid/i2c-hid-core.c b/drivers/hid/i2c-hid/i2c-hid-core.c index 91b2fa0d33c7..c078f09a2318 100644 --- a/drivers/hid/i2c-hid/i2c-hid-core.c +++ b/drivers/hid/i2c-hid/i2c-hid-core.c @@ -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); } |