summaryrefslogtreecommitdiff
path: root/drivers/staging/vt6656/usbpipe.c
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2014-02-27 23:06:09 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-27 17:09:18 -0800
commit88c4d12c91a24e3a68c68ed80b4181fefa2f23d5 (patch)
treee0607ff2109ead653804ddabd5de73a357e58b88 /drivers/staging/vt6656/usbpipe.c
parenta6eb9af980746db1628c17b0fa134dbd04c1e91e (diff)
staging: vt6656: Remove all variables ulBulk*
None of these variables reach user or in any debug messages. Remove them all. 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.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/vt6656/usbpipe.c b/drivers/staging/vt6656/usbpipe.c
index 54c68a511932..ce396b9c0842 100644
--- a/drivers/staging/vt6656/usbpipe.c
+++ b/drivers/staging/vt6656/usbpipe.c
@@ -372,7 +372,6 @@ static void s_nsInterruptUsbIoCompleteRead(struct urb *urb)
"s_nsInterruptUsbIoCompleteRead Status %d\n", status);
if (status != STATUS_SUCCESS) {
- priv->ulBulkInError++;
priv->int_buf.in_use = false;
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO
@@ -419,8 +418,6 @@ int PIPEnsBulkInUsbRead(struct vnt_private *priv, struct vnt_rcb *rcb)
if (priv->Flags & fMP_DISCONNECTED)
return STATUS_FAILURE;
- priv->ulBulkInPosted++;
-
urb = rcb->pUrb;
if (rcb->skb == NULL) {
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"rcb->skb is null\n");
@@ -473,8 +470,6 @@ static void s_nsBulkInUsbIoCompleteRead(struct urb *urb)
switch (urb->status) {
case 0:
- priv->ulBulkInContCRCError = 0;
- priv->ulBulkInBytesRead += urb->actual_length;
break;
case -ECONNRESET:
case -ENOENT:
@@ -482,7 +477,6 @@ static void s_nsBulkInUsbIoCompleteRead(struct urb *urb)
return;
case -ETIMEDOUT:
default:
- priv->ulBulkInError++;
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO
"BULK In failed %d\n", urb->status);
break;
@@ -541,7 +535,6 @@ int PIPEnsSendBulkOut(struct vnt_private *priv,
}
urb = context->pUrb;
- priv->ulBulkOutPosted++;
usb_fill_bulk_urb(urb,
priv->usb,
@@ -622,12 +615,9 @@ 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);
- priv->ulBulkOutBytesWrite += buf_len;
- priv->ulBulkOutContCRCError = 0;
} else {
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO
"BULK Out failed %d\n", status);
- priv->ulBulkOutError++;
}