usb: ehci-mxc: Remove unused 'echi' variable
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 8 Nov 2012 11:56:13 +0000 (09:56 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Nov 2012 20:14:12 +0000 (12:14 -0800)
Since commit c73cee7 (USB: EHCI: remove ehci_port_power() routine), the
'ehci' variable is no longer used, so remove it and fix the following
build warning:

drivers/usb/host/ehci-mxc.c:41:19: warning: unused variable 'ehci' [-Wunused-variable]

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-mxc.c

index a37224a..8804f74 100644 (file)
@@ -39,8 +39,6 @@ struct ehci_mxc_priv {
 /* called during probe() after chip reset completes */
 static int ehci_mxc_setup(struct usb_hcd *hcd)
 {
-       struct ehci_hcd *ehci = hcd_to_ehci(hcd);
-
        hcd->has_tt = 1;
 
        return ehci_setup(hcd);