Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2014 15:53:14 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r266246 - head/sys/dev/usb/controller
Message-ID:  <201405161553.s4GFrELN019197@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



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