[PATCH 2/14] net: axienet: delete unneeded test before of_node_put
David Miller
davem at davemloft.net
Fri Aug 8 10:29:06 PDT 2014
From: Julia Lawall <Julia.Lawall at lip6.fr>
Date: Fri, 8 Aug 2014 12:07:43 +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