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:
2daff4d
)
video: fbdev-SIS: Deletion of unnecessary checks before the function call "pci_dev_put"
author
Markus Elfring
<elfring@users.sourceforge.net>
Sun, 23 Nov 2014 11:55:25 +0000
(12:55 +0100)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Thu, 4 Dec 2014 14:16:01 +0000
(16:16 +0200)
The pci_dev_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: Tomi Valkeinen <tomi.valkeinen@ti.com>
No differences found