diff options
author | Julia Lawall <[email protected]> | 2014-08-08 12:07:45 +0200 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2014-11-10 09:59:34 +1100 |
commit | 4cdd641dddd0ecd93f7b84fc3622df83937f6094 (patch) | |
tree | ec26e7e419c3de44cdab435fc2fc2872adf96388 /lib/mpi/mpi-cmp.c | |
parent | 0f9da5cb746581ae2de120c78a8afe29fb594fe4 (diff) |
powerpc/fsl: fsl_soc: 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 <[email protected]>
Acked-by: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions