Files
linux/drivers/net/ethernet/xilinx
Markus Elfring 38a90e7ccb net: Xilinx: Deletion of unnecessary checks before two function calls
The functions kfree() and of_node_put() test whether their argument is NULL
and then return immediately. Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <[email protected]>
Reviewed-by: Soren Brinkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2014-11-21 15:14:12 -05:00
..