Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2012 05:15:13 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r241081 - head/sys/arm/ti/usb
Message-ID:  <201210010515.q915FDto085972@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Mon Oct  1 05:15:13 2012
New Revision: 241081
URL: http://svn.freebsd.org/changeset/base/241081

Log:
  Remove unused variables from the OMAP ehci code.

Modified:
  head/sys/arm/ti/usb/omap_ehci.c

Modified: head/sys/arm/ti/usb/omap_ehci.c
==============================================================================
--- head/sys/arm/ti/usb/omap_ehci.c	Mon Oct  1 05:12:17 2012	(r241080)
+++ head/sys/arm/ti/usb/omap_ehci.c	Mon Oct  1 05:15:13 2012	(r241081)
@@ -665,10 +665,8 @@ omap_ehci_fini(struct omap_ehci_softc *i
 static int
 omap_ehci_suspend(device_t dev)
 {
-	ehci_softc_t *sc = device_get_softc(dev);
 	int err;
 	
-	sc = sc;
 	err = bus_generic_suspend(dev);
 	if (err)
 		return (err);
@@ -691,8 +689,6 @@ omap_ehci_suspend(device_t dev)
 static int
 omap_ehci_resume(device_t dev)
 {
-	ehci_softc_t *sc = device_get_softc(dev);
-	sc = sc;
 	
 	bus_generic_resume(dev);
 	
@@ -715,10 +711,8 @@ omap_ehci_resume(device_t dev)
 static int
 omap_ehci_shutdown(device_t dev)
 {
-	ehci_softc_t *sc = device_get_softc(dev);
 	int err;
 	
-	sc = sc;
 	err = bus_generic_shutdown(dev);
 	if (err)
 		return (err);



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