diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c
index f403d49e7462b75a4a14d45703c6497954fde12e..61dbccd53cd7a01f8f15a8fcf329428f14137921 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