Commit da5c99fd authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: usb_fill_bulk_urb get rid of void* cast.

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 13338303
...@@ -556,14 +556,13 @@ int PIPEnsSendBulkOut(struct vnt_private *pDevice, ...@@ -556,14 +556,13 @@ int PIPEnsSendBulkOut(struct vnt_private *pDevice,
pUrb = pContext->pUrb; pUrb = pContext->pUrb;
pDevice->ulBulkOutPosted++; pDevice->ulBulkOutPosted++;
// pDevice->pPendingBulkOutContext = pContext; // pDevice->pPendingBulkOutContext = pContext;
usb_fill_bulk_urb( usb_fill_bulk_urb(pUrb,
pUrb, pDevice->usb,
pDevice->usb, usb_sndbulkpipe(pDevice->usb, 3),
usb_sndbulkpipe(pDevice->usb, 3), pContext->Data,
(void *) &(pContext->Data[0]), pContext->uBufLen,
pContext->uBufLen, s_nsBulkOutIoCompleteWrite,
s_nsBulkOutIoCompleteWrite, pContext);
pContext);
status = usb_submit_urb(pUrb, GFP_ATOMIC); status = usb_submit_urb(pUrb, GFP_ATOMIC);
if (status != 0) if (status != 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment