Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit def84bd9 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman
Browse files

staging: vt6656: s_nsInterruptUsbIoCompleteRead remove usb_fill_bulk_urb



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

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c98fbf90
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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