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); _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"