summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2012-09-17 09:32:11 +0000
committerkevlo <kevlo@FreeBSD.org>2012-09-17 09:32:11 +0000
commita9b43f2914f155eaef0a9e9b3c55cd493bfec811 (patch)
tree73eb58097c8295e252b5f557e44f14feb84aebd4
parentbdef88e89762e87c18438f2d5e6e8c1cb5e3bc95 (diff)
downloadFreeBSD-src-a9b43f2914f155eaef0a9e9b3c55cd493bfec811.zip
FreeBSD-src-a9b43f2914f155eaef0a9e9b3c55cd493bfec811.tar.gz
Remove unused variable cd.
This variable is initialized but not used.
-rw-r--r--sys/dev/usb/net/uhso.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/usb/net/uhso.c b/sys/dev/usb/net/uhso.c
index 979c118..40dd1f4 100644
--- a/sys/dev/usb/net/uhso.c
+++ b/sys/dev/usb/net/uhso.c
@@ -540,7 +540,6 @@ uhso_attach(device_t self)
{
struct uhso_softc *sc = device_get_softc(self);
struct usb_attach_arg *uaa = device_get_ivars(self);
- struct usb_config_descriptor *cd;
struct usb_interface_descriptor *id;
struct sysctl_ctx_list *sctx;
struct sysctl_oid *soid;
@@ -561,7 +560,6 @@ uhso_attach(device_t self)
sc->sc_ttys = 0;
sc->sc_radio = 1;
- cd = usbd_get_config_descriptor(uaa->device);
id = usbd_get_interface_descriptor(uaa->iface);
sc->sc_ctrl_iface_no = id->bInterfaceNumber;
OpenPOWER on IntegriCloud