diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-11-08 09:56:13 -0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-14 12:14:12 -0800 |
commit | bc13364b3413a3815740c4a2f087e06f1b7ed850 (patch) | |
tree | 26a9471f9f8eaf685df5580375dc61ed00fd6c4e /drivers/usb/host | |
parent | 70847780dca19f3707d9fa433f68edf8cbaf91f2 (diff) | |
download | linux-3.10-bc13364b3413a3815740c4a2f087e06f1b7ed850.tar.gz linux-3.10-bc13364b3413a3815740c4a2f087e06f1b7ed850.tar.bz2 linux-3.10-bc13364b3413a3815740c4a2f087e06f1b7ed850.zip |
usb: ehci-mxc: Remove unused 'echi' variable
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>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r-- | drivers/usb/host/ehci-mxc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c index a37224a4a49..8804f74689d 100644 --- a/drivers/usb/host/ehci-mxc.c +++ b/drivers/usb/host/ehci-mxc.c @@ -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); |