Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2012 17:17:04 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r240668 - stable/9/sys/dev/usb/net
Message-ID:  <201209181717.q8IHH48L031201@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Tue Sep 18 17:17:04 2012
New Revision: 240668
URL: http://svn.freebsd.org/changeset/base/240668

Log:
  MFC r240597:
  Remove unused variable cd.
  This variable is initialized but not used.

Modified:
  stable/9/sys/dev/usb/net/uhso.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/usb/net/uhso.c
==============================================================================
--- stable/9/sys/dev/usb/net/uhso.c	Tue Sep 18 17:14:59 2012	(r240667)
+++ stable/9/sys/dev/usb/net/uhso.c	Tue Sep 18 17:17:04 2012	(r240668)
@@ -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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209181717.q8IHH48L031201>