From 4600b029201b97193e27b1a4d79761e10e88112d Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sun, 16 Apr 2006 03:54:31 +0000 Subject: remove splnet usage from em_intr(). --- sys/dev/pci/if_em.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'sys/dev/pci') diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c index 16ec60b71fe..a34de5a7375 100644 --- a/sys/dev/pci/if_em.c +++ b/sys/dev/pci/if_em.c @@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE. ***************************************************************************/ -/* $OpenBSD: if_em.c,v 1.113 2006/04/12 07:11:28 dlg Exp $ */ +/* $OpenBSD: if_em.c,v 1.114 2006/04/16 03:54:30 brad Exp $ */ /* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */ #include @@ -713,9 +713,7 @@ em_intr(void *arg) struct em_softc *sc = arg; struct ifnet *ifp; u_int32_t reg_icr, test_icr; - int s, claimed = 0; - - s = splnet(); + int claimed = 0; ifp = &sc->interface_data.ac_if; @@ -750,7 +748,6 @@ em_intr(void *arg) IFQ_IS_EMPTY(&ifp->if_snd) == 0) em_start(ifp); - splx(s); return (claimed); } -- cgit v1.2.3