Thread (2 messages) 2 messages, 2 authors, 2014-08-08

Re: [PATCH 13/14] fec_mpc52xx: delete unneeded test before of_node_put

From: David Miller <davem@davemloft.net>
Date: 2014-08-08 17:28:53
Also in: kernel-janitors, lkml

From: Julia Lawall <redacted>
Date: Fri,  8 Aug 2014 12:07:54 +0200
From: Julia Lawall <redacted>

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 <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help