mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 05:31:17 -04:00
staging: vt6656: usb_fill_bulk_urb get rid of void* cast.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
133383035f
commit
da5c99fdf5
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user