diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2015-11-06 18:00:30 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-11-19 16:52:31 +0100 |
commit | 27ba1d56e1e150294802f0dca8368abc51a664fb (patch) | |
tree | 06d77f495f243a08696a69a38a42eb2a9d2dcc90 /fs/eventfd.c | |
parent | 6f1da317ac1df15f442b5fd37be7740c7cb55057 (diff) | |
download | linux-27ba1d56e1e150294802f0dca8368abc51a664fb.tar.gz linux-27ba1d56e1e150294802f0dca8368abc51a664fb.tar.bz2 linux-27ba1d56e1e150294802f0dca8368abc51a664fb.zip |
HID: wacom: Delete an unnecessary check before kobject_put()
The kobject_put() 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.cz>
Diffstat (limited to 'fs/eventfd.c')
0 files changed, 0 insertions, 0 deletions