summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-input.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2015-07-09 08:08:15 +0200
committerJiri Kosina <jkosina@suse.com>2015-07-09 14:28:14 +0200
commit67e123ff0e9a71fcf19f83827d59f73076f5bd1a (patch)
tree86905aada02f1459f22dfb9118eba6802ae9229d /drivers/hid/hid-input.c
parentHID: usbhid: no flushing if device is already polled (diff)
downloadlinux-67e123ff0e9a71fcf19f83827d59f73076f5bd1a.tar.xz
linux-67e123ff0e9a71fcf19f83827d59f73076f5bd1a.zip
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