]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PowerPC-83xx: Deletion of an unnecessary check before the function call "of_node_put"
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 22 Nov 2014 15:18:20 +0000 (16:18 +0100)
committerScott Wood <scottwood@freescale.com>
Fri, 30 Jan 2015 05:16:19 +0000 (23:16 -0600)
commit8ac6e995ac17f33a5cc6796c5069488eb9f4abd7
tree8924f093f2e6075045a54eb77f11bee3aaf76731
parentfd5f4914b6053fc91ef2c278c54254a660427bf1
PowerPC-83xx: Deletion of an unnecessary check before the function call "of_node_put"

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