diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-05-07 01:46:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 22:21:43 +0200 |
commit | 1d6ec813e2b2f82666230fc3c0fbf13032da945e (patch) | |
tree | 33be556323ec289cd8fa067306945464c5cd4bfc /drivers/usb/host/u132-hcd.c | |
parent | USB: xhci: Set stream ID to 0 after cleaning up stalls. (diff) | |
download | linux-1d6ec813e2b2f82666230fc3c0fbf13032da945e.tar.xz linux-1d6ec813e2b2f82666230fc3c0fbf13032da945e.zip |
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 <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/u132-hcd.c')
-rw-r--r-- | drivers/usb/host/u132-hcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |