dwc_eth_qos: Delete an unnecessary check before the function call "of_node_put"
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 7 Nov 2015 15:30:34 +0000 (16:30 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Nov 2015 18:17:32 +0000 (13:17 -0500)
commit3694bfbdb3bd5cf6632140c7f7fdf6f31d43ee66
treee36c618911cd85187001e3812654646feb964fc5
parent40baec225765c54eefa870530dd613bad9829bb7
dwc_eth_qos: Delete 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: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/synopsys/dwc_eth_qos.c