diff options
-rw-r--r-- | drivers/staging/winbond/wb35tx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/winbond/wb35tx.c b/drivers/staging/winbond/wb35tx.c index 7a2024d6468e..474cad8bf5e7 100644 --- a/drivers/staging/winbond/wb35tx.c +++ b/drivers/staging/winbond/wb35tx.c | |||
@@ -135,8 +135,7 @@ unsigned char Wb35Tx_initial(struct hw_data *pHwData) | |||
135 | return false; | 135 | return false; |
136 | 136 | ||
137 | pWb35Tx->Tx2Urb = usb_alloc_urb(0, GFP_ATOMIC); | 137 | pWb35Tx->Tx2Urb = usb_alloc_urb(0, GFP_ATOMIC); |
138 | if (!pWb35Tx->Tx2Urb) | 138 | if (!pWb35Tx->Tx2Urb) { |
139 | { | ||
140 | usb_free_urb(pWb35Tx->Tx4Urb); | 139 | usb_free_urb(pWb35Tx->Tx4Urb); |
141 | return false; | 140 | return false; |
142 | } | 141 | } |
@@ -263,7 +262,8 @@ static void Wb35Tx_EP2VM(struct wbsoft_priv *adapter) | |||
263 | 262 | ||
264 | /* Issuing URB */ | 263 | /* Issuing URB */ |
265 | usb_fill_int_urb(pUrb, pHwData->udev, usb_rcvintpipe(pHwData->udev, 2), | 264 | usb_fill_int_urb(pUrb, pHwData->udev, usb_rcvintpipe(pHwData->udev, 2), |
266 | pltmp, MAX_INTERRUPT_LENGTH, Wb35Tx_EP2VM_complete, adapter, 32); | 265 | pltmp, MAX_INTERRUPT_LENGTH, Wb35Tx_EP2VM_complete, |
266 | adapter, 32); | ||
267 | 267 | ||
268 | pWb35Tx->EP2vm_state = VM_RUNNING; | 268 | pWb35Tx->EP2vm_state = VM_RUNNING; |
269 | retv = usb_submit_urb(pUrb, GFP_ATOMIC); | 269 | retv = usb_submit_urb(pUrb, GFP_ATOMIC); |