diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-01-18 05:35:58 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-01-18 05:35:58 +0000 |
commit | 78d081bd1e5039039438a2cfe82f8b3060fc181e (patch) | |
tree | 61a511294ef6dd45f63b2ecd3b1541bba0c25981 /sys/dev/usb2/ethernet/if_cdce2.c | |
parent | 1d6fbb62eacc39a465419b19aaecb889dd930b0b (diff) | |
download | FreeBSD-src-78d081bd1e5039039438a2cfe82f8b3060fc181e.zip FreeBSD-src-78d081bd1e5039039438a2cfe82f8b3060fc181e.tar.gz |
Just put the ifnet pointer first in the softc like it needs to be rather than
adding another deliciously evil pointer.
Diffstat (limited to 'sys/dev/usb2/ethernet/if_cdce2.c')
-rw-r--r-- | sys/dev/usb2/ethernet/if_cdce2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/usb2/ethernet/if_cdce2.c b/sys/dev/usb2/ethernet/if_cdce2.c index d833287..6b56c7e 100644 --- a/sys/dev/usb2/ethernet/if_cdce2.c +++ b/sys/dev/usb2/ethernet/if_cdce2.c @@ -444,7 +444,6 @@ alloc_transfers: device_printf(dev, "cannot if_alloc()\n"); goto detach; } - sc->sc_evilhack = ifp; ifp->if_softc = sc; if_initname(ifp, "cdce", sc->sc_unit); |