git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03f3df8
)
USB-SIS: Deletion of an unnecessary check before the function call "usb_put_dev"
author
Markus Elfring
<elfring@users.sourceforge.net>
Fri, 21 Nov 2014 14:50:44 +0000
(15:50 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 25 Nov 2014 01:24:31 +0000
(17:24 -0800)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found