summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_vr.c
diff options
context:
space:
mode:
authorMichael Knudsen <mk@cvs.openbsd.org>2008-05-22 19:23:05 +0000
committerMichael Knudsen <mk@cvs.openbsd.org>2008-05-22 19:23:05 +0000
commit299d77765f417e3a779dd9cd6e906cc968af3cc7 (patch)
tree8b8e4b7113a11a6646e6a64275dfd7803a28b867 /sys/dev/pci/if_vr.c
parent4f30c327603d94a432699cc5bd567fe54df11f97 (diff)
More timeout(9) usage cleaned up.
ok claudio
Diffstat (limited to 'sys/dev/pci/if_vr.c')
-rw-r--r--sys/dev/pci/if_vr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pci/if_vr.c b/sys/dev/pci/if_vr.c
index 2834cbf3eb8..9394ba4dbef 100644
--- a/sys/dev/pci/if_vr.c
+++ b/sys/dev/pci/if_vr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vr.c,v 1.72 2008/02/07 16:04:01 thib Exp $ */
+/* $OpenBSD: if_vr.c,v 1.73 2008/05/22 19:23:04 mk Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -1464,8 +1464,7 @@ vr_stop(struct vr_softc *sc)
ifp = &sc->arpcom.ac_if;
ifp->if_timer = 0;
- if (timeout_pending(&sc->sc_to))
- timeout_del(&sc->sc_to);
+ timeout_del(&sc->sc_to);
ifp->if_flags &= ~(IFF_RUNNING | IFF_OACTIVE);