svn commit: r241127 - head/sys/dev/usb
Hans Petter Selasky
hselasky at FreeBSD.org
Tue Oct 2 10:05:39 UTC 2012
Author: hselasky
Date: Tue Oct 2 10:05:39 2012
New Revision: 241127
URL: http://svn.freebsd.org/changeset/base/241127
Log:
Remove unused field.
MFC after: 1 week
Modified:
head/sys/dev/usb/usb_hub.c
Modified: head/sys/dev/usb/usb_hub.c
==============================================================================
--- head/sys/dev/usb/usb_hub.c Tue Oct 2 09:53:50 2012 (r241126)
+++ head/sys/dev/usb/usb_hub.c Tue Oct 2 10:05:39 2012 (r241127)
@@ -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, "
More information about the svn-src-head
mailing list