mirror of
https://github.com/opnsense/src.git
synced 2026-02-14 16:23:25 -05:00
better, I discovered sn doing too many pointer dereferences. This
driver would do silly things like:
sn_foo(struct ifnet *ifp)
{
struct sn_softc *sc = ifp->if_softc;
sc->ifp->mumble
/* Other stuff */
}
while /* other stuff */ usually needed sc, the extra deref isn't
needed. Eliminate a few dozen of them.
|
||
|---|---|---|
| .. | ||
| if_sn.c | ||
| if_sn_isa.c | ||
| if_sn_pccard.c | ||
| if_snreg.h | ||
| if_snvar.h | ||
| ositech.h | ||