Skip to content

Commit

Permalink
staging: vt6656: usbpipe: get rid of in/out debug messages.
Browse files Browse the repository at this point in the history
Remove all in/out debug messages.

Signed-off-by: Malcolm Priestley <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Malcolm Priestley authored and gregkh committed May 18, 2014
1 parent f53d9f1 commit f347d8c
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions drivers/staging/vt6656/usbpipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ int PIPEnsInterruptRead(struct vnt_private *priv)
{
int status = STATUS_FAILURE;

DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO
"---->s_nsStartInterruptUsbRead()\n");

if (priv->int_buf.in_use == true)
return STATUS_FAILURE;

Expand All @@ -150,9 +147,6 @@ int PIPEnsInterruptRead(struct vnt_private *priv)
priv->int_buf.in_use = false;
}

DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO
"<----s_nsStartInterruptUsbRead Return(%x)\n", status);

return status;
}

Expand All @@ -176,9 +170,6 @@ static void s_nsInterruptUsbIoCompleteRead(struct urb *urb)
struct vnt_private *priv = urb->context;
int status;

DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO
"---->s_nsInterruptUsbIoCompleteRead\n");

switch (urb->status) {
case 0:
case -ETIMEDOUT:
Expand All @@ -194,9 +185,6 @@ static void s_nsInterruptUsbIoCompleteRead(struct urb *urb)

status = urb->status;

DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO
"s_nsInterruptUsbIoCompleteRead Status %d\n", status);

if (status != STATUS_SUCCESS) {
priv->int_buf.in_use = false;

Expand Down Expand Up @@ -236,8 +224,6 @@ int PIPEnsBulkInUsbRead(struct vnt_private *priv, struct vnt_rcb *rcb)
int status = 0;
struct urb *urb;

DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"---->s_nsStartBulkInUsbRead\n");

if (priv->Flags & fMP_DISCONNECTED)
return STATUS_FAILURE;

Expand Down Expand Up @@ -290,8 +276,6 @@ static void s_nsBulkInUsbIoCompleteRead(struct urb *urb)
unsigned long flags;
int re_alloc_skb = false;

DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"---->s_nsBulkInUsbIoCompleteRead\n");

switch (urb->status) {
case 0:
break;
Expand Down Expand Up @@ -351,8 +335,6 @@ int PIPEnsSendBulkOut(struct vnt_private *priv,

priv->bPWBitOn = false;

DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"s_nsSendBulkOut\n");

if (!(MP_IS_READY(priv) && priv->Flags & fMP_POST_WRITES)) {
context->in_use = false;
return STATUS_RESOURCES;
Expand Down Expand Up @@ -413,8 +395,6 @@ static void s_nsBulkOutIoCompleteWrite(struct urb *urb)
struct vnt_private *priv = context->priv;
u8 context_type = context->type;

DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"---->s_nsBulkOutIoCompleteWrite\n");

switch (urb->status) {
case 0:
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO
Expand Down

0 comments on commit f347d8c

Please sign in to comment.