summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pccbb.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/pccbb.c
parent4f30c327603d94a432699cc5bd567fe54df11f97 (diff)
More timeout(9) usage cleaned up.
ok claudio
Diffstat (limited to 'sys/dev/pci/pccbb.c')
-rw-r--r--sys/dev/pci/pccbb.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/pci/pccbb.c b/sys/dev/pci/pccbb.c
index 8c88e81a077..3e20f703e91 100644
--- a/sys/dev/pci/pccbb.c
+++ b/sys/dev/pci/pccbb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pccbb.c,v 1.59 2007/12/20 13:59:27 kettenis Exp $ */
+/* $OpenBSD: pccbb.c,v 1.60 2008/05/22 19:23:04 mk Exp $ */
/* $NetBSD: pccbb.c,v 1.96 2004/03/28 09:49:31 nakayama Exp $ */
/*
@@ -1011,9 +1011,6 @@ pccbbintr(arg)
* insertion/removal during suspension.
*/
(sc->sc_flags & CBB_CARDEXIST) == 0) {
- if (sc->sc_flags & CBB_INSERTING) {
- timeout_del(&sc->sc_ins_tmo);
- }
timeout_add(&sc->sc_ins_tmo, hz / 10);
sc->sc_flags |= CBB_INSERTING;
}