Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249613
b: refs/heads/master
c: 17fb761
h: refs/heads/master
i:
  249611: d964862
v: v3
  • Loading branch information
Julia Lawall authored and Greg Kroah-Hartman committed May 17, 2011
1 parent 94716d5 commit 01c46e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7ed2911c8f727077249fc5170a1ab842465aef21
refs/heads/master: 17fb76165f307f7be2cfbc93958356fe50fa4791
3 changes: 0 additions & 3 deletions trunk/drivers/staging/vt6656/main_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -955,16 +955,13 @@ static BOOL device_alloc_bufs(PSDevice pDevice) {
pDevice->pInterruptURB = usb_alloc_urb(0, GFP_ATOMIC);
if (pDevice->pInterruptURB == NULL) {
DBG_PRT(MSG_LEVEL_ERR,KERN_ERR"Failed to alloc int urb\n");
usb_kill_urb(pDevice->pControlURB);
usb_free_urb(pDevice->pControlURB);
goto free_rx_tx;
}

pDevice->intBuf.pDataBuf = kmalloc(MAX_INTERRUPT_SIZE, GFP_KERNEL);
if (pDevice->intBuf.pDataBuf == NULL) {
DBG_PRT(MSG_LEVEL_ERR,KERN_ERR"Failed to alloc int buf\n");
usb_kill_urb(pDevice->pControlURB);
usb_kill_urb(pDevice->pInterruptURB);
usb_free_urb(pDevice->pControlURB);
usb_free_urb(pDevice->pInterruptURB);
goto free_rx_tx;
Expand Down

0 comments on commit 01c46e2

Please sign in to comment.