Julia Lawall 756d36790a powerpc/mpc5xxx: delete unneeded test before of_node_put
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/)

// <smpl>
@@
expression e;
@@

-if (e)
   of_node_put(e);
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2014-11-10 09:59:34 +11:00
..
2014-11-03 12:12:32 +11:00
2014-09-25 23:14:46 +10:00
2010-03-04 10:43:58 -06:00
2013-10-09 20:04:11 -05:00
2008-12-21 14:21:15 +11:00
2014-03-04 17:37:51 +01:00
2013-10-09 20:04:11 -05:00
2013-10-09 20:04:11 -05:00
2014-09-25 23:14:46 +10:00
2013-10-09 20:04:11 -05:00
2013-11-06 14:13:50 +11:00
2014-09-25 23:14:46 +10:00