Remove unused structure field.

MFC after:	2 weeks
This commit is contained in:
hselasky 2012-08-10 17:42:14 +00:00
parent 6f292b5574
commit d5dd7e8693
5 changed files with 0 additions and 21 deletions

View File

@ -141,7 +141,6 @@ struct ubser_softc {
uint8_t sc_iface_no;
uint8_t sc_iface_index;
uint8_t sc_curr_tx_unit;
uint8_t sc_name[16];
};
/* prototypes */
@ -249,9 +248,6 @@ ubser_attach(device_t dev)
mtx_init(&sc->sc_mtx, "ubser", NULL, MTX_DEF);
ucom_ref(&sc->sc_super_ucom);
snprintf(sc->sc_name, sizeof(sc->sc_name), "%s",
device_get_nameunit(dev));
sc->sc_iface_no = uaa->info.bIfaceNum;
sc->sc_iface_index = uaa->info.bIfaceIndex;
sc->sc_udev = uaa->device;

View File

@ -101,7 +101,6 @@ struct ucycom_softc {
#define UCYCOM_CFG_STOPB 0x08
#define UCYCOM_CFG_DATAB 0x03
uint8_t sc_ist; /* status flags from last input */
uint8_t sc_name[16];
uint8_t sc_iface_no;
uint8_t sc_temp_cfg[32];
};
@ -224,9 +223,6 @@ ucycom_attach(device_t dev)
mtx_init(&sc->sc_mtx, "ucycom", NULL, MTX_DEF);
ucom_ref(&sc->sc_super_ucom);
snprintf(sc->sc_name, sizeof(sc->sc_name),
"%s", device_get_nameunit(dev));
DPRINTF("\n");
/* get chip model */

View File

@ -195,7 +195,6 @@ struct ufoma_softc {
uint8_t sc_msr;
uint8_t sc_modetoactivate;
uint8_t sc_currentmode;
uint8_t sc_name[16];
};
/* prototypes */
@ -394,9 +393,6 @@ ufoma_attach(device_t dev)
device_set_usb_desc(dev);
snprintf(sc->sc_name, sizeof(sc->sc_name),
"%s", device_get_nameunit(dev));
DPRINTF("\n");
/* setup control transfers */

View File

@ -110,8 +110,6 @@ struct uftdi_softc {
uint8_t sc_hdrlen;
uint8_t sc_msr;
uint8_t sc_lsr;
uint8_t sc_name[16];
};
struct uftdi_param_config {
@ -890,9 +888,6 @@ uftdi_attach(device_t dev)
mtx_init(&sc->sc_mtx, "uftdi", NULL, MTX_DEF);
ucom_ref(&sc->sc_super_ucom);
snprintf(sc->sc_name, sizeof(sc->sc_name),
"%s", device_get_nameunit(dev));
DPRINTF("\n");
sc->sc_iface_index = uaa->info.bIfaceIndex;

View File

@ -115,7 +115,6 @@ struct umct_softc {
uint8_t sc_mcr;
uint8_t sc_iface_no;
uint8_t sc_swap_cb;
uint8_t sc_name[16];
};
/* prototypes */
@ -257,9 +256,6 @@ umct_attach(device_t dev)
mtx_init(&sc->sc_mtx, "umct", NULL, MTX_DEF);
ucom_ref(&sc->sc_super_ucom);
snprintf(sc->sc_name, sizeof(sc->sc_name),
"%s", device_get_nameunit(dev));
sc->sc_iface_no = uaa->info.bIfaceNum;
iface_index = UMCT_IFACE_INDEX;