diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-02-10 08:58:07 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-02-10 08:58:07 +0000 |
commit | 08cbea94c861b51fb0b6ce5d7572fa27a8d7bb71 (patch) | |
tree | b6074ed37a5ebaafa0d09bdf6fb01d93b0b1ad9c /sys/dev/pci | |
parent | ec02fac4d79e0e2a9da71a69cd7e6da2de19f23b (diff) |
remove unnecessary link state check in the watchdog handler.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_em.c | 4 |
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; |