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/ic | |
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/ic')
-rw-r--r-- | sys/dev/ic/i82365.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ic/i82365.c b/sys/dev/ic/i82365.c index 157c5d26523..e96df2cab3d 100644 --- a/sys/dev/ic/i82365.c +++ b/sys/dev/ic/i82365.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i82365.c,v 1.26 2007/11/25 16:40:04 jmc Exp $ */ +/* $OpenBSD: i82365.c,v 1.27 2008/05/22 19:23:04 mk Exp $ */ /* $NetBSD: i82365.c,v 1.10 1998/06/09 07:36:55 thorpej Exp $ */ /* @@ -838,8 +838,7 @@ pcic_power(why, arg) struct pcic_event *pe; if (why != PWR_RESUME) { - if (timeout_pending(&sc->poll_timeout)) - timeout_del(&sc->poll_timeout); + timeout_del(&sc->poll_timeout); } else { pcic_intr_socket(h); |