diff options
author | 2014-11-21 16:33:18 +0100 | |
---|---|---|
committer | 2014-11-24 17:23:41 -0800 | |
commit | 03f3df817dd3bf988c6d56e10e99b5b4553f5044 (patch) | |
tree | 1466da76af9282f880a2ff8c3452573ecd5de2ab /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | host: ehci-w90x900: fix error return code (diff) | |
download | wireguard-linux-03f3df817dd3bf988c6d56e10e99b5b4553f5044.tar.xz wireguard-linux-03f3df817dd3bf988c6d56e10e99b5b4553f5044.zip |
USB-IP: Deletion of unnecessary checks before the function call "usb_put_dev"
The usb_put_dev() 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>
Acked-by: Valentina Manea <valentina.manea.m@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions