Remove queue check from last commit. In most cases there is smth in queue,

when start function is called.

Reviewed by:	ru
This commit is contained in:
Gleb Smirnoff 2005-09-20 14:52:57 +00:00
parent aecb98c94d
commit c33f26f32b

View file

@ -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;