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 <elfring@users.sourceforge.net>
Reviewed-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-11-21 15:14:12 -05:00
..
Kconfig net: emaclite: Enable emaclite for Xilinx Arm Zynq platform 2013-05-30 17:08:43 -07:00
ll_temac_main.c net: Xilinx: Deletion of unnecessary checks before two function calls 2014-11-21 15:14:12 -05: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: remove unnecessary ether_setup after alloc_etherdev 2014-09-12 18:15:40 -04: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 net: Xilinx: Deletion of unnecessary checks before two function calls 2014-11-21 15:14:12 -05:00