linux_dsm_epyc7002/drivers/net/ethernet/dec/tulip
Julia Lawall 2d4dda781f net: tulip: delete useless tests on netdev_priv
Netdev_priv performs an addition, not a pointer dereference, so it seems
quite unlikely that its result would ever be NULL.

A semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
statement S;
@@

- if (!netdev_priv(...)) S
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-03 19:35:17 -05:00
..
21142.c drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
de4x5.c net: tulip: use DEFINE_PCI_DEVICE_TABLE 2013-10-22 02:19:23 -04:00
de4x5.h
de2104x.c net: tulip: remove unnecessary pci_set_drvdata() 2013-10-21 17:21:00 -04:00
dmfe.c net: tulip: remove unnecessary pci_set_drvdata() 2013-10-21 17:21:00 -04:00
eeprom.c tulip: remove __dev* attributes 2012-12-03 11:16:52 -08:00
interrupt.c tulip: Properly check dma mapping result 2013-06-13 17:09:40 -07:00
Kconfig net: Move MII out from under NET_CORE and hide it 2013-06-19 22:22:56 -07:00
Makefile
media.c tulip: remove __dev* attributes 2012-12-03 11:16:52 -08:00
pnic2.c drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
pnic.c drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
timer.c drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
tulip_core.c net: tulip: remove unnecessary pci_set_drvdata() 2013-10-21 17:21:00 -04:00
tulip.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
uli526x.c net: tulip: delete useless tests on netdev_priv 2014-01-03 19:35:17 -05:00
winbond-840.c net: tulip: remove unnecessary pci_set_drvdata() 2013-10-21 17:21:00 -04:00
xircom_cb.c net: tulip: remove unnecessary pci_set_drvdata() 2013-10-21 17:21:00 -04:00