summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2007-09-19 04:52:16 +0000
committerBrad Smith <brad@cvs.openbsd.org>2007-09-19 04:52:16 +0000
commitd1ca28e6eb4e7f44124ade5f364eab23ba289014 (patch)
tree69cec44f204692429c99a07a0ab8dcc1b607160c /sys
parent9100d181ae701d9542f034bd855f89a60d31ce53 (diff)
ex_start() is always called at splnet, so remove the unnecessary splnet.
ok dlg@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/isa/if_ex.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/isa/if_ex.c b/sys/dev/isa/if_ex.c
index 99f66167917..9a9911974bb 100644
--- a/sys/dev/isa/if_ex.c
+++ b/sys/dev/isa/if_ex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ex.c,v 1.18 2007/09/19 03:55:05 brad Exp $ */
+/* $OpenBSD: if_ex.c,v 1.19 2007/09/19 04:52:15 brad Exp $ */
/*
* Copyright (c) 1997, Donald A. Schmidt
* Copyright (c) 1996, Javier Martín Rueda (jmrueda@diatel.upm.es)
@@ -385,15 +385,13 @@ void
ex_start(struct ifnet *ifp)
{
struct ex_softc *sc = ifp->if_softc;
- int i, s, len, data_len, avail, dest, next;
+ int i, len, data_len, avail, dest, next;
unsigned char tmp16[2];
struct mbuf *opkt;
struct mbuf *m;
DODEBUG(Start_End, printf("ex_start: start\n"););
- s = splnet();
-
/*
* Main loop: send outgoing packets to network card until there are no
* more packets left, or the card cannot accept any more yet.
@@ -534,8 +532,6 @@ ex_start(struct ifnet *ifp)
}
}
- splx(s);
-
DODEBUG(Start_End, printf("ex_start: finish\n"););
}