diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2015-07-09 08:08:15 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2015-07-09 14:28:14 +0200 |
commit | 67e123ff0e9a71fcf19f83827d59f73076f5bd1a (patch) | |
tree | 86905aada02f1459f22dfb9118eba6802ae9229d /drivers/hid/hid-input.c | |
parent | HID: usbhid: no flushing if device is already polled (diff) | |
download | linux-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