diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c index cc25b3063ba3..26817b3e0f18 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);