diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-02-27 23:06:14 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-27 17:09:19 -0800 |
commit | d597aaef2d09880afea29904a3b524f6a6d3c7ce (patch) | |
tree | 7ee9cd0ae51184fba111fbdaddce86f512ef60e3 /drivers/staging/vt6656/usbpipe.c | |
parent | 07bc8398ad09f7cb0140ad472829fee5f284130c (diff) |
staging: vt6656: s_nsBulkOutIoCompleteWrite remove buf_len.
Use context->uBufLen directly which is unsigned int.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/usbpipe.c')
-rw-r--r-- | drivers/staging/vt6656/usbpipe.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/vt6656/usbpipe.c b/drivers/staging/vt6656/usbpipe.c index fb9200e31e38..57efb7f3587d 100644 --- a/drivers/staging/vt6656/usbpipe.c +++ b/drivers/staging/vt6656/usbpipe.c @@ -584,7 +584,6 @@ static void s_nsBulkOutIoCompleteWrite(struct urb *urb) struct vnt_usb_send_context *context = urb->context; struct vnt_private *priv = context->pDevice; u8 context_type = context->type; - unsigned long buf_len = context->uBufLen; int status; DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"---->s_nsBulkOutIoCompleteWrite\n"); @@ -610,7 +609,7 @@ static void s_nsBulkOutIoCompleteWrite(struct urb *urb) if (status == STATUS_SUCCESS) { DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO - "Write %d bytes\n", (int)buf_len); + "Write %d bytes\n", context->uBufLen); } else { DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "BULK Out failed %d\n", status); @@ -622,7 +621,7 @@ static void s_nsBulkOutIoCompleteWrite(struct urb *urb) dev_kfree_skb_irq(context->pPacket); context->pPacket = NULL; DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO - "tx %d bytes\n", (int)buf_len); + "tx %d bytes\n", context->uBufLen); } priv->dev->trans_start = jiffies; |