Remove unused 'xl_unit' member from softc.
This commit is contained in:
parent
518b3fa5fc
commit
3f5ef1985a
@ -1327,7 +1327,6 @@ xl_attach(device_t dev)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
sc->xl_unit = unit;
|
||||
callout_init_mtx(&sc->xl_stat_callout, &sc->xl_mtx, 0);
|
||||
TASK_INIT(&sc->xl_task, 0, xl_rxeof_task, sc);
|
||||
|
||||
|
@ -593,7 +593,6 @@ struct xl_softc {
|
||||
const struct xl_type *xl_info; /* 3Com adapter info */
|
||||
bus_dma_tag_t xl_mtag;
|
||||
bus_dmamap_t xl_tmpmap; /* spare DMA map */
|
||||
u_int8_t xl_unit; /* interface number */
|
||||
u_int8_t xl_type;
|
||||
u_int32_t xl_xcvr;
|
||||
u_int16_t xl_media;
|
||||
|
Loading…
Reference in New Issue
Block a user