summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2000-10-16 18:51:32 +0000
committerwpaul <wpaul@FreeBSD.org>2000-10-16 18:51:32 +0000
commit35828f956beadb8355e5e636c420ff640245437f (patch)
tree619fd07c3709cd738eca22f8dbb4d7d80448b84d
parent4e7a9416198cecc333537c044d0e320e8f302626 (diff)
downloadFreeBSD-src-35828f956beadb8355e5e636c420ff640245437f.zip
FreeBSD-src-35828f956beadb8355e5e636c420ff640245437f.tar.gz
Remove an errant splimp() that I missed when I went through this driver
the first time.
-rw-r--r--sys/pci/if_xl.c3
1 files changed, 0 insertions, 3 deletions
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);
OpenPOWER on IntegriCloud