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:
parent
133383035f
commit
da5c99fdf5
1 changed files with 7 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue