From 35828f956beadb8355e5e636c420ff640245437f Mon Sep 17 00:00:00 2001 From: wpaul Date: Mon, 16 Oct 2000 18:51:32 +0000 Subject: Remove an errant splimp() that I missed when I went through this driver the first time. --- sys/pci/if_xl.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'sys/pci') diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c index cc25b30..26817b3 100644 --- a/sys/pci/if_xl.c +++ b/sys/pci/if_xl.c @@ -1205,7 +1205,6 @@ static void xl_choose_xcvr(sc, verbose) static int xl_attach(dev) device_t dev; { - int s; u_char eaddr[ETHER_ADDR_LEN]; u_int32_t command; struct xl_softc *sc; @@ -1213,8 +1212,6 @@ static int xl_attach(dev) int media = IFM_ETHER|IFM_100_TX|IFM_FDX; int unit, error = 0, rid; - s = splimp(); - sc = device_get_softc(dev); unit = device_get_unit(dev); -- cgit v1.1