summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-11-19 18:11:23 +0000
committerjhb <jhb@FreeBSD.org>2009-11-19 18:11:23 +0000
commit680691ac7237fea5f2e6b3085a067e698eba44ee (patch)
treef3ccaf9c2932c8178211ffe6244da4844f8ba59a /sys/arm
parent9aa490f096ff30310ba6a6a03699e8ccc2efe2c9 (diff)
downloadFreeBSD-src-680691ac7237fea5f2e6b3085a067e698eba44ee.zip
FreeBSD-src-680691ac7237fea5f2e6b3085a067e698eba44ee.tar.gz
These drivers only set if_timer but never set if_watchdog. Just remove
the assignments to if_timer.
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/at91/if_ate.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/arm/at91/if_ate.c b/sys/arm/at91/if_ate.c
index ec4771c..bde7fb9 100644
--- a/sys/arm/at91/if_ate.c
+++ b/sys/arm/at91/if_ate.c
@@ -276,7 +276,6 @@ ate_attach(device_t dev)
IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN);
ifp->if_snd.ifq_drv_maxlen = IFQ_MAXLEN;
IFQ_SET_READY(&ifp->if_snd);
- ifp->if_timer = 0;
ifp->if_linkmib = &sc->mibdata;
ifp->if_linkmiblen = sizeof(sc->mibdata);
sc->mibdata.dot3Compliance = DOT3COMPLIANCE_COLLS;
@@ -999,7 +998,6 @@ atestop(struct ate_softc *sc)
ATE_ASSERT_LOCKED(sc);
ifp = sc->ifp;
if (ifp) {
- ifp->if_timer = 0;
ifp->if_drv_flags &= ~(IFF_DRV_RUNNING | IFF_DRV_OACTIVE);
}
OpenPOWER on IntegriCloud