diff options
-rw-r--r-- | sys/dev/pci/if_em.c | 7 |
1 files changed, 2 insertions, 5 deletions
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 <dev/pci/if_em.h> @@ -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); } |