linux-sg2042/drivers/net/ethernet/ibm/emac
Markus Elfring 5ac0fd00e1 IBM-EMAC: Deletion of unnecessary checks before the function call "of_dev_put"
The of_dev_put() function tests whether its argument is NULL and then
returns 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-11-21 15:14:12 -05:00
..
Kconfig
Makefile net: fix IBM EMAC driver after rename. 2011-08-18 21:33:49 -07:00
core.c IBM-EMAC: Deletion of unnecessary checks before the function call "of_dev_put" 2014-11-21 15:14:12 -05:00
core.h drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
debug.c ethernet/emac/sysrq: fix inconstistent help message of sysrq key 2013-04-30 17:04:10 -07:00
debug.h ibm/emac: Remove extern from function prototypes 2013-09-24 12:51:27 -07:00
emac.h powerpc/44x: Add more changes for APM821XX EMAC driver 2012-03-06 17:07:42 -05:00
mal.c emac: aggregation of v1-2 PLB errors for IER register 2014-05-30 16:29:57 -07:00
mal.h emac: aggregation of v1-2 PLB errors for IER register 2014-05-30 16:29:57 -07:00
phy.c drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
phy.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
rgmii.c emac: add missing support of 10mbit in emac/rgmii 2014-05-30 16:29:57 -07:00
rgmii.h ibm/emac: Remove extern from function prototypes 2013-09-24 12:51:27 -07:00
tah.c drivers: clean-up prom.h implicit includes 2013-10-09 20:04:04 -05:00
tah.h ibm/emac: Remove extern from function prototypes 2013-09-24 12:51:27 -07:00
zmii.c drivers: clean-up prom.h implicit includes 2013-10-09 20:04:04 -05:00
zmii.h ibm/emac: Remove extern from function prototypes 2013-09-24 12:51:27 -07:00