summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_em.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c
index a937f93686e..0530713d18d 100644
--- a/sys/dev/pci/if_em.c
+++ b/sys/dev/pci/if_em.c
@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
-/* $OpenBSD: if_em.c,v 1.159 2006/11/21 02:30:37 brad Exp $ */
+/* $OpenBSD: if_em.c,v 1.160 2006/11/21 02:42:27 brad Exp $ */
/* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */
#include <dev/pci/if_em.h>
@@ -595,14 +595,6 @@ em_watchdog(struct ifnet *ifp)
return;
}
- /*
- * Reclaim first as there is a possibility of losing Tx completion
- * interrupts.
- */
- em_txeof(sc);
- if (sc->num_tx_desc_avail == sc->num_tx_desc)
- return;
-
printf("%s: watchdog timeout -- resetting\n", sc->sc_dv.dv_xname);
em_init(sc);