summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-input.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2015-07-09 09:08:15 +0300
committerJiri Kosina <jkosina@suse.com>2015-07-09 15:28:14 +0300
commit67e123ff0e9a71fcf19f83827d59f73076f5bd1a (patch)
tree86905aada02f1459f22dfb9118eba6802ae9229d /drivers/hid/hid-input.c
parent615322f6ac358f9c94b483d0a16f3f46fcb27b1c (diff)
downloadlinux-67e123ff0e9a71fcf19f83827d59f73076f5bd1a.tar.xz
HID: wacom: Delete unnecessary checks before the function call "input_free_device"
The input_free_device() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'drivers/hid/hid-input.c')
0 files changed, 0 insertions, 0 deletions