From: Anatolij Gustschin Date: Sat, 19 Nov 2011 10:10:33 +0000 (+0000) Subject: drivers/usb/host/ehci-mxc.c: Fix GCC 4.6 warning X-Git-Tag: v2011.12-rc1~38 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f55feafdee3e73863b80d0d4107382daffd9afe3;p=u-boot 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 --- diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c index f403d49e74..61dbccd53c 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