From c33f26f32b53162dec3ec5edbc4c390dfe586465 Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Tue, 20 Sep 2005 14:52:57 +0000 Subject: [PATCH] Remove queue check from last commit. In most cases there is smth in queue, when start function is called. Reviewed by: ru --- sys/dev/em/if_em.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/em/if_em.c b/sys/dev/em/if_em.c index 9d1a7452666..1fd5467a214 100644 --- a/sys/dev/em/if_em.c +++ b/sys/dev/em/if_em.c @@ -644,8 +644,7 @@ em_start(struct ifnet *ifp) struct adapter *adapter = ifp->if_softc; EM_LOCK(adapter); - if (ifp->if_drv_flags & IFF_DRV_RUNNING && - !IFQ_DRV_IS_EMPTY(&ifp->if_snd)) + if (ifp->if_drv_flags & IFF_DRV_RUNNING) em_start_locked(ifp); EM_UNLOCK(adapter); return;