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:
fd5f491
)
PowerPC-83xx: Deletion of an unnecessary check before the function call "of_node_put"
author
Markus Elfring
<elfring@users.sourceforge.net>
Sat, 22 Nov 2014 15:18:20 +0000
(16:18 +0100)
committer
Scott Wood
<scottwood@freescale.com>
Fri, 30 Jan 2015 05:16:19 +0000
(23:16 -0600)
The of_node_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: Scott Wood <scottwood@freescale.com>
arch/powerpc/platforms/83xx/usb.c
patch
|
blob
|
history
diff --cc
arch/powerpc/platforms/83xx/usb.c
Simple merge