From f9710198562167242154466dbfd896ce9c53a4e7 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sat, 8 Jul 2006 02:54:44 +0000 Subject: remove splnet from attach routine. --- sys/dev/pci/if_de.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sys') diff --git a/sys/dev/pci/if_de.c b/sys/dev/pci/if_de.c index 515988d56d1..45e17dca4eb 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.92 2006/06/01 09:45:48 brad Exp $ */ +/* $OpenBSD: if_de.c,v 1.93 2006/07/08 02:54:43 brad Exp $ */ /* $NetBSD: if_de.c,v 1.58 1998/01/12 09:39:58 thorpej Exp $ */ /*- @@ -4749,7 +4749,6 @@ tulip_pci_attach(struct device * const parent, struct device * const self, void #endif (sc->tulip_revinfo & 0xF0) >> 4, sc->tulip_revinfo & 0x0F); } else { - int s; int (*intr_rtn)(void *) = tulip_intr_normal; if (sc->tulip_features & TULIP_HAVE_SHAREDINTR) @@ -4781,8 +4780,6 @@ tulip_pci_attach(struct device * const parent, struct device * const self, void printf("%s: warning: couldn't establish shutdown hook\n", sc->tulip_xname); - s = splnet(); tulip_attach(sc); - splx(s); } } -- cgit v1.2.3