From: Malcolm Priestley Date: Mon, 17 Feb 2014 21:18:40 +0000 (+0000) Subject: staging: vt6656: s_nsInterruptUsbIoCompleteRead remove usb_fill_bulk_urb X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=def84bd9a11954d32d380c461eb884d1f0b2a8b7;p=linux-beck.git staging: vt6656: s_nsInterruptUsbIoCompleteRead remove usb_fill_bulk_urb No need to fill urb in again, just resubmit it. Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/usbpipe.c b/drivers/staging/vt6656/usbpipe.c index d18cb2f0fb41..1ab1bbcc0fb0 100644 --- a/drivers/staging/vt6656/usbpipe.c +++ b/drivers/staging/vt6656/usbpipe.c @@ -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