From: Randy Dunlap Date: Thu, 6 May 2010 23:46:03 +0000 (-0700) Subject: USB: fix u132-hcd code/data warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1d6ec813e2b2f82666230fc3c0fbf13032da945e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git USB: fix u132-hcd code/data warning Fix gcc warning on mixed declarations/code: drivers/usb/host/u132-hcd.c:1450: warning: ISO C90 forbids mixed declarations and code Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/u132-hcd.c b/drivers/usb/host/u132-hcd.c index 11a97d93dff2..5b31bae92dbc 100644 --- a/drivers/usb/host/u132-hcd.c +++ b/drivers/usb/host/u132-hcd.c @@ -1446,9 +1446,9 @@ static void u132_hcd_endp_work_scheduler(struct work_struct *work) return; } else { int retval; - address = u132->addr[endp->usb_addr].address; struct urb *urb = endp->urb_list[ENDP_QUEUE_MASK & endp->queue_next]; + address = u132->addr[endp->usb_addr].address; endp->active = 1; ring->curr_endp = endp; ring->in_use = 1;