diff options
author | 2015-11-06 18:00:30 +0100 | |
---|---|---|
committer | 2015-11-19 16:52:31 +0100 | |
commit | 27ba1d56e1e150294802f0dca8368abc51a664fb (patch) | |
tree | 06d77f495f243a08696a69a38a42eb2a9d2dcc90 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid (diff) | |
download | wireguard-linux-27ba1d56e1e150294802f0dca8368abc51a664fb.tar.xz wireguard-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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions