From da5c99fdf524d2eaab1cad70587ca80c0cd94fb4 Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Tue, 25 Feb 2014 20:51:44 +0000 Subject: [PATCH] staging: vt6656: usb_fill_bulk_urb get rid of void* cast. Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6656/usbpipe.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/staging/vt6656/usbpipe.c b/drivers/staging/vt6656/usbpipe.c index a93d0ff46c01..706c1633fef5 100644 --- a/drivers/staging/vt6656/usbpipe.c +++ b/drivers/staging/vt6656/usbpipe.c @@ -556,14 +556,13 @@ int PIPEnsSendBulkOut(struct vnt_private *pDevice, pUrb = pContext->pUrb; pDevice->ulBulkOutPosted++; // pDevice->pPendingBulkOutContext = pContext; - usb_fill_bulk_urb( - pUrb, - pDevice->usb, - usb_sndbulkpipe(pDevice->usb, 3), - (void *) &(pContext->Data[0]), - pContext->uBufLen, - s_nsBulkOutIoCompleteWrite, - pContext); + usb_fill_bulk_urb(pUrb, + pDevice->usb, + usb_sndbulkpipe(pDevice->usb, 3), + pContext->Data, + pContext->uBufLen, + s_nsBulkOutIoCompleteWrite, + pContext); status = usb_submit_urb(pUrb, GFP_ATOMIC); if (status != 0) -- 2.30.2