linux_dsm_epyc7002/drivers/net/ethernet/xilinx
Julia Lawall 6a3e6aa10b ll_temac: 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>
Reviewed-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-08-08 10:28:08 -07:00
..
Kconfig net: emaclite: Enable emaclite for Xilinx Arm Zynq platform 2013-05-30 17:08:43 -07:00
ll_temac_main.c ll_temac: delete unneeded test before of_node_put 2014-08-08 10:28:08 -07:00
ll_temac_mdio.c
ll_temac.h
Makefile drivers/net/ethernet/xilinx: added Xilinx AXI Ethernet driver 2012-01-25 16:59:47 -05:00
xilinx_axienet_main.c net: axienet: delete unneeded test before of_node_put 2014-08-08 10:28:08 -07:00
xilinx_axienet_mdio.c xilinx: Fix compiler warning 2014-06-22 17:14:56 -07:00
xilinx_axienet.h drivers/net/ethernet/xilinx/axi ethernet: Correct Copyright 2012-04-13 13:58:42 -04:00
xilinx_emaclite.c xilinx: Fix compiler warning 2014-06-22 17:14:56 -07:00