diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-05-06 19:46:03 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 16:21:43 -0400 |
commit | 1d6ec813e2b2f82666230fc3c0fbf13032da945e (patch) | |
tree | 33be556323ec289cd8fa067306945464c5cd4bfc /drivers | |
parent | 5e5cf6fc59db2322dfe3ac8e1002f066b06d868f (diff) |
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')
-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) | |||
1446 | return; | 1446 | return; |
1447 | } else { | 1447 | } else { |
1448 | int retval; | 1448 | int retval; |
1449 | address = u132->addr[endp->usb_addr].address; | ||
1450 | struct urb *urb = endp->urb_list[ENDP_QUEUE_MASK & | 1449 | struct urb *urb = endp->urb_list[ENDP_QUEUE_MASK & |
1451 | endp->queue_next]; | 1450 | endp->queue_next]; |
1451 | address = u132->addr[endp->usb_addr].address; | ||
1452 | endp->active = 1; | 1452 | endp->active = 1; |
1453 | ring->curr_endp = endp; | 1453 | ring->curr_endp = endp; |
1454 | ring->in_use = 1; | 1454 | ring->in_use = 1; |