diff options
author | jhb <jhb@FreeBSD.org> | 2008-05-28 15:34:29 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-05-28 15:34:29 +0000 |
commit | 3f5ef1985aed85300427485a566e0142032d88b4 (patch) | |
tree | f7668117dce4422d9379af469c6fb15d3fa05e78 | |
parent | 518b3fa5fc5109203bc1f0ca1cff09c91329c70d (diff) | |
download | FreeBSD-src-3f5ef1985aed85300427485a566e0142032d88b4.zip FreeBSD-src-3f5ef1985aed85300427485a566e0142032d88b4.tar.gz |
Remove unused 'xl_unit' member from softc.
-rw-r--r-- | sys/pci/if_xl.c | 1 | ||||
-rw-r--r-- | sys/pci/if_xlreg.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c index 05038e1..341f628 100644 --- a/sys/pci/if_xl.c +++ b/sys/pci/if_xl.c @@ -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); diff --git a/sys/pci/if_xlreg.h b/sys/pci/if_xlreg.h index 65c46d2..5386614 100644 --- a/sys/pci/if_xlreg.h +++ b/sys/pci/if_xlreg.h @@ -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; |