summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2005-09-20 14:52:57 +0000
committerglebius <glebius@FreeBSD.org>2005-09-20 14:52:57 +0000
commit1f2c9e5c2c6a7d902c8324bb52f00b46bbfbffdc (patch)
treec6aa7a9d31c23d7869d232d53cbf1a195ae1f35d /sys/dev
parentb167d0deb256033faa88cc97a11c9a80e5420b50 (diff)
downloadFreeBSD-src-1f2c9e5c2c6a7d902c8324bb52f00b46bbfbffdc.zip
FreeBSD-src-1f2c9e5c2c6a7d902c8324bb52f00b46bbfbffdc.tar.gz
Remove queue check from last commit. In most cases there is smth in queue,
when start function is called. Reviewed by: ru
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/em/if_em.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/em/if_em.c b/sys/dev/em/if_em.c
index 9d1a745..1fd5467 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;
OpenPOWER on IntegriCloud