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)
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

Simple merge