summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/if_em.c
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2006-02-10 08:58:06 +0000
committerbrad <brad@openbsd.org>2006-02-10 08:58:06 +0000
commit53fd8341cfafc63ce2b081ac0649893781082ef3 (patch)
treee8629d5ac49c295e64703ea9527bc99eea3aac46 /sys/dev/pci/if_em.c
parentRemove clearing of the IFF_RUNNING flag from the watchdog handler as (diff)
downloadwireguard-openbsd-53fd8341cfafc63ce2b081ac0649893781082ef3.tar.xz
wireguard-openbsd-53fd8341cfafc63ce2b081ac0649893781082ef3.zip
remove unnecessary link state check in the watchdog handler.
Diffstat (limited to 'sys/dev/pci/if_em.c')
-rw-r--r--sys/dev/pci/if_em.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c
index 9fc0095ce88..b340492ffbf 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.102 2006/01/28 20:56:15 brad Exp $ */
+/* $OpenBSD: if_em.c,v 1.103 2006/02/10 08:58:06 brad Exp $ */
/* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */
#include <dev/pci/if_em.h>
@@ -548,8 +548,6 @@ em_watchdog(struct ifnet *ifp)
return;
}
- em_check_for_link(&sc->hw);
-
printf("%s: watchdog timeout -- resetting\n", sc->sc_dv.dv_xname);
ifp->if_flags &= ~IFF_RUNNING;