diff options
author | jhb <jhb@FreeBSD.org> | 2009-11-06 14:55:01 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2009-11-06 14:55:01 +0000 |
commit | 892fe839c429ee86e92b57abaacad6a2b93b5e90 (patch) | |
tree | 2be900cabf5b5f29cf51c11b3847821ab1373fbb /sys/net/if_ef.c | |
parent | 711ffd5555051d0353132c19110a788a312e5fad (diff) | |
download | FreeBSD-src-892fe839c429ee86e92b57abaacad6a2b93b5e90.zip FreeBSD-src-892fe839c429ee86e92b57abaacad6a2b93b5e90.tar.gz |
Take a step towards removing if_watchdog/if_timer. Don't explicitly set
if_watchdog/if_timer to NULL/0 when initializing an ifnet. if_alloc()
sets those members to NULL/0 already.
Diffstat (limited to 'sys/net/if_ef.c')
-rw-r--r-- | sys/net/if_ef.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/net/if_ef.c b/sys/net/if_ef.c index 2af3a17..94fb03d 100644 --- a/sys/net/if_ef.c +++ b/sys/net/if_ef.c @@ -128,7 +128,6 @@ ef_attach(struct efnet *sc) struct ifnet *ifp = sc->ef_ifp; ifp->if_start = ef_start; - ifp->if_watchdog = NULL; ifp->if_init = ef_init; ifp->if_snd.ifq_maxlen = IFQ_MAXLEN; ifp->if_flags = (IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST); |