diff options
author | 2008-05-22 19:23:04 +0000 | |
---|---|---|
committer | 2008-05-22 19:23:04 +0000 | |
commit | a499dca2e89477cc75e83d62b92154170debd10c (patch) | |
tree | 63c533fb3504df895b977027d72421e60f0f5ecc /sys/dev/pci/if_vr.c | |
parent | Remove the german announcement text. (diff) | |
download | wireguard-openbsd-a499dca2e89477cc75e83d62b92154170debd10c.tar.xz wireguard-openbsd-a499dca2e89477cc75e83d62b92154170debd10c.zip |
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.c | 5 |
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); |