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

[PATCH 2/14] net: axienet: delete unneeded test before of_node_put

From: davem@davemloft.net (David Miller)
Date: 2014-08-08 17:29:10
Also in: kernel-janitors, lkml, netdev

From: Julia Lawall <redacted>
Date: Fri,  8 Aug 2014 12:07:43 +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