2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00
linux-next/drivers/net/ethernet/dec
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
..
tulip net: tulip: delete useless tests on netdev_priv 2014-01-03 19:35:17 -05:00
Kconfig drivers/net: delete Digital EtherWorks-3 support. 2013-01-22 10:39:55 -05:00
Makefile drivers/net: delete Digital EtherWorks-3 support. 2013-01-22 10:39:55 -05:00