summaryrefslogtreecommitdiffstats
path: root/sys/dev/hatm
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-11-06 14:55:01 +0000
committerjhb <jhb@FreeBSD.org>2009-11-06 14:55:01 +0000
commit892fe839c429ee86e92b57abaacad6a2b93b5e90 (patch)
tree2be900cabf5b5f29cf51c11b3847821ab1373fbb /sys/dev/hatm
parent711ffd5555051d0353132c19110a788a312e5fad (diff)
downloadFreeBSD-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/dev/hatm')
-rw-r--r--sys/dev/hatm/if_hatm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/hatm/if_hatm.c b/sys/dev/hatm/if_hatm.c
index 8532764..325e532 100644
--- a/sys/dev/hatm/if_hatm.c
+++ b/sys/dev/hatm/if_hatm.c
@@ -1928,7 +1928,6 @@ hatm_attach(device_t dev)
ifp->if_flags = IFF_SIMPLEX;
ifp->if_ioctl = hatm_ioctl;
ifp->if_start = hatm_start;
- ifp->if_watchdog = NULL;
ifp->if_init = hatm_init;
utopia_attach(&sc->utopia, IFP2IFATM(sc->ifp), &sc->media, &sc->mtx,
OpenPOWER on IntegriCloud