svn commit: r266246 - head/sys/dev/usb/controller
Hans Petter Selasky
hselasky at FreeBSD.org
Fri May 16 15:53:15 UTC 2014
Author: hselasky
Date: Fri May 16 15:53:14 2014
New Revision: 266246
URL: http://svnweb.freebsd.org/changeset/base/266246
Log:
Fix a compile warning about unused variable.
Sponsored by: DARPA, AFRL
Modified:
head/sys/dev/usb/controller/saf1761_otg.c
Modified: head/sys/dev/usb/controller/saf1761_otg.c
==============================================================================
--- head/sys/dev/usb/controller/saf1761_otg.c Fri May 16 15:51:37 2014 (r266245)
+++ head/sys/dev/usb/controller/saf1761_otg.c Fri May 16 15:53:14 2014 (r266246)
@@ -2629,12 +2629,9 @@ static void
saf1761_otg_ep_init(struct usb_device *udev, struct usb_endpoint_descriptor *edesc,
struct usb_endpoint *ep)
{
- struct saf1761_otg_softc *sc = SAF1761_OTG_BUS2SC(udev->bus);
-
- DPRINTFN(2, "endpoint=%p, addr=%d, endpt=%d, mode=%d (%d)\n",
+ DPRINTFN(2, "endpoint=%p, addr=%d, endpt=%d, mode=%d\n",
ep, udev->address,
- edesc->bEndpointAddress, udev->flags.usb_mode,
- sc->sc_rt_addr);
+ edesc->bEndpointAddress, udev->flags.usb_mode);
if (udev->parent_hub == NULL) {
/* root HUB has special endpoint handling */
More information about the svn-src-head
mailing list