diff options
| author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2012-10-02 10:05:39 +0000 |
|---|---|---|
| committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2012-10-02 10:05:39 +0000 |
| commit | 1d8fa9519fd13ac69657bb68b2c6b9b602b2882a (patch) | |
| tree | 72d861f86c364bf6223f70da32be4f7863981522 /sys | |
| parent | b94db03dca3630b03ff65e45d5f868f02388ac43 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/usb/usb_hub.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/usb/usb_hub.c b/sys/dev/usb/usb_hub.c index 0686bdf766cbb..df9a2d043bb09 100644 --- a/sys/dev/usb/usb_hub.c +++ b/sys/dev/usb/usb_hub.c @@ -103,7 +103,6 @@ struct uhub_softc { struct usb_xfer *sc_xfer[UHUB_N_TRANSFER]; /* interrupt xfer */ uint8_t sc_flags; #define UHUB_FLAG_DID_EXPLORE 0x01 - char sc_name[32]; }; #define UHUB_PROTO(sc) ((sc)->sc_udev->ddesc.bDeviceProtocol) @@ -927,9 +926,6 @@ uhub_attach(device_t dev) mtx_init(&sc->sc_mtx, "USB HUB mutex", NULL, MTX_DEF); - snprintf(sc->sc_name, sizeof(sc->sc_name), "%s", - device_get_nameunit(dev)); - device_set_usb_desc(dev); DPRINTFN(2, "depth=%d selfpowered=%d, parent=%p, " |
