diff options
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/if_xl.c | 3 |
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); |