These drivers only set if_timer but never set if_watchdog. Just remove
the assignments to if_timer.
This commit is contained in:
parent
569b2f6954
commit
e21e2eea58
@ -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);
|
||||
}
|
||||
|
||||
|
@ -2946,7 +2946,6 @@ xge_flush_txds(xge_hal_channel_h channelh)
|
||||
struct ifnet *ifnetp = lldev->ifnetp;
|
||||
u8 t_code;
|
||||
|
||||
ifnetp->if_timer = 0;
|
||||
while(xge_hal_fifo_dtr_next_completed(channelh, &tx_dtr, &t_code)
|
||||
== XGE_HAL_OK) {
|
||||
XGE_DRV_STATS(tx_desc_compl);
|
||||
@ -3105,7 +3104,6 @@ _exit1:
|
||||
XGE_DRV_STATS(tx_again);
|
||||
|
||||
_exit:
|
||||
ifnetp->if_timer = 15;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -3269,8 +3267,6 @@ xge_tx_compl(xge_hal_channel_h channelh,
|
||||
|
||||
XGE_DRV_STATS(tx_completions);
|
||||
|
||||
ifnetp->if_timer = 0;
|
||||
|
||||
/*
|
||||
* For each completed descriptor: Get private structure, free buffer,
|
||||
* do unmapping, and free descriptor
|
||||
|
@ -559,10 +559,8 @@ wlattach(device_t device)
|
||||
ifp->if_init = wlinit;
|
||||
ifp->if_start = wlstart;
|
||||
ifp->if_ioctl = wlioctl;
|
||||
ifp->if_timer = 0; /* paranoia */
|
||||
ifp->if_snd.ifq_maxlen = IFQ_MAXLEN;
|
||||
/* no entries
|
||||
ifp->if_watchdog
|
||||
ifp->if_done
|
||||
ifp->if_reset
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user