diff options
Diffstat (limited to 'drivers/usb/host/u132-hcd.c')
-rw-r--r-- | drivers/usb/host/u132-hcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/u132-hcd.c b/drivers/usb/host/u132-hcd.c index fbd7adafd61..11a97d93dff 100644 --- a/drivers/usb/host/u132-hcd.c +++ b/drivers/usb/host/u132-hcd.c | |||
@@ -1446,7 +1446,7 @@ 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 | u8 address = u132->addr[endp->usb_addr].address; | 1449 | address = u132->addr[endp->usb_addr].address; |
1450 | struct urb *urb = endp->urb_list[ENDP_QUEUE_MASK & | 1450 | struct urb *urb = endp->urb_list[ENDP_QUEUE_MASK & |
1451 | endp->queue_next]; | 1451 | endp->queue_next]; |
1452 | endp->active = 1; | 1452 | endp->active = 1; |
@@ -3120,8 +3120,8 @@ static int __devinit u132_probe(struct platform_device *pdev) | |||
3120 | ftdi_elan_gone_away(pdev); | 3120 | ftdi_elan_gone_away(pdev); |
3121 | return -ENOMEM; | 3121 | return -ENOMEM; |
3122 | } else { | 3122 | } else { |
3123 | int retval = 0; | ||
3124 | struct u132 *u132 = hcd_to_u132(hcd); | 3123 | struct u132 *u132 = hcd_to_u132(hcd); |
3124 | retval = 0; | ||
3125 | hcd->rsrc_start = 0; | 3125 | hcd->rsrc_start = 0; |
3126 | mutex_lock(&u132_module_lock); | 3126 | mutex_lock(&u132_module_lock); |
3127 | list_add_tail(&u132->u132_list, &u132_static_list); | 3127 | list_add_tail(&u132->u132_list, &u132_static_list); |