[PATCH 12/14] ll_temac: delete unneeded test before of_node_put

David Miller davem at davemloft.net
Fri Aug 8 10:28:58 PDT 2014


From: Julia Lawall <Julia.Lawall at lip6.fr>
Date: Fri,  8 Aug 2014 12:07:53 +0200

> From: Julia Lawall <Julia.Lawall at lip6.fr>
> 
> Of_node_put supports NULL as its argument, so the initial test is not
> necessary.
> 
> Suggested by Uwe Kleine-König.
> 
> The semantic patch that fixes this problem is as follows:
> (http://coccinelle.lip6.fr/)
 ...
> Signed-off-by: Julia Lawall <Julia.Lawall at lip6.fr>

Applied.



More information about the linux-arm-kernel mailing list