HID: usbhid: remove redundant assignment to variable retval
authorColin Ian King <colin.king@canonical.com>
Wed, 10 Jun 2020 12:31:01 +0000 (13:31 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 16 Jun 2020 15:16:44 +0000 (17:16 +0200)
commit8e9ddbde9ddbba74c86b0c5f8eefb26192b3242e
tree01328ba553f44f8c820c1e73882fbf2eed408181
parentd3132792285859253c466354fd8d54d1fe0ba786
HID: usbhid: remove redundant assignment to variable retval

The variable retval is being initialized with a value that is
never read and it is being updated later with a new value. The
initialization is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hid-core.c