summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2005-09-07 13:32:14 +0000
committerbrad <brad@openbsd.org>2005-09-07 13:32:14 +0000
commit6b08ebb340691f60902a18f63b0ed40e940762e5 (patch)
tree9f91c8f177626026d8500abca0b7fbd7a7ec0015 /sys/dev
parentsort options and sync usage() (diff)
downloadwireguard-openbsd-6b08ebb340691f60902a18f63b0ed40e940762e5.tar.xz
wireguard-openbsd-6b08ebb340691f60902a18f63b0ed40e940762e5.zip
do not try to restore the spl level two times in a row.
ok martin@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_de.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_de.c b/sys/dev/pci/if_de.c
index f158a31ecc1..3231d291da2 100644
--- a/sys/dev/pci/if_de.c
+++ b/sys/dev/pci/if_de.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_de.c,v 1.77 2005/09/06 16:03:40 brad Exp $ */
+/* $OpenBSD: if_de.c,v 1.78 2005/09/07 13:32:14 brad Exp $ */
/* $NetBSD: if_de.c,v 1.58 1998/01/12 09:39:58 thorpej Exp $ */
/*-
@@ -140,7 +140,6 @@ tulip_timeout_callback(
sc->tulip_flags &= ~TULIP_TIMEOUTPENDING;
sc->tulip_probe_timeout -= 1000 / TULIP_HZ;
(sc->tulip_boardsw->bd_media_poll)(sc, TULIP_MEDIAPOLL_TIMER);
- TULIP_RESTORESPL(s);
TULIP_PERFEND(timeout);
TULIP_RESTORESPL(s);