aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-mxc.c
diff options
context:
space:
mode:
authorAnatolij Gustschin2011-11-19 10:10:33 +0000
committerWolfgang Denk2011-12-09 10:34:53 +0100
commitf55feafdee3e73863b80d0d4107382daffd9afe3 (patch)
treec292f9b9e0a1bcf151253b0e6466acdfe26e26b3 /drivers/usb/host/ehci-mxc.c
parent13119bc9fb1e1f3639b4cbb5166ccb3ab5673dcf (diff)
drivers/usb/host/ehci-mxc.c: Fix GCC 4.6 warning
Fix: ehci-mxc.c: In function 'ehci_hcd_init': ehci-mxc.c:113:6: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/usb/host/ehci-mxc.c')
-rw-r--r--drivers/usb/host/ehci-mxc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c
index f403d49e746..61dbccd53cd 100644
--- a/drivers/usb/host/ehci-mxc.c
+++ b/drivers/usb/host/ehci-mxc.c
@@ -110,11 +110,10 @@ int ehci_hcd_init(void)
{
struct usb_ehci *ehci;
#ifdef CONFIG_MX31
- u32 tmp;
struct clock_control_regs *sc_regs =
(struct clock_control_regs *)CCM_BASE;
- tmp = __raw_readl(&sc_regs->ccmr);
+ __raw_readl(&sc_regs->ccmr);
__raw_writel(__raw_readl(&sc_regs->ccmr) | (1 << 9), &sc_regs->ccmr) ;
#endif