From: Malcolm Priestley Date: Tue, 25 Feb 2014 20:51:44 +0000 (+0000) Subject: staging: vt6656: usb_fill_bulk_urb get rid of void* cast. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=da5c99fdf524d2eaab1cad70587ca80c0cd94fb4;p=openwrt%2Fstaging%2Fblogic.git staging: vt6656: usb_fill_bulk_urb get rid of void* cast. 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 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)