Skip to contentSkip to conversation

staging: vt6656: s_nsInterruptUsbIoCompleteRead remove usb_fill_bulk_urb

PATCH In review Malcolm Priestley 1 participant 1 message Feb 17, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 3/5 staging: vt6656: s_nsInterruptUsbIoCompleteRead remove usb_fill_bulk_urb

No need to fill urb in again, just resubmit it.

---
 drivers/staging/vt6656/usbpipe.c | 8 --------
 1 file changed, 8 deletions(-)
drivers/staging/vt6656/usbpipe.c +0 -8
index d18cb2f..1ab1bbc 100644
@@ -404,14 +404,6 @@ static void s_nsInterruptUsbIoCompleteRead(struct urb *urb)
     }
 
     if (pDevice->fKillEventPollingThread != true) {
-       usb_fill_bulk_urb(pDevice->pInterruptURB,
-		      pDevice->usb,
-		      usb_rcvbulkpipe(pDevice->usb, 1),
-		     (void *) pDevice->intBuf.pDataBuf,
-		     MAX_INTERRUPT_SIZE,
-		     s_nsInterruptUsbIoCompleteRead,
-		     pDevice);
-
 	ntStatus = usb_submit_urb(pDevice->pInterruptURB, GFP_ATOMIC);
 	if (ntStatus) {
 		DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO
Signature · 1 line
1.9.rc1