Commit 132e755a authored by Pekka Enberg's avatar Pekka Enberg Committed by Greg Kroah-Hartman

Staging: w35und: remove useless macro from common.h

The DebugUsbdStatusInformation macro doesn't do anything useful so remove the
definition and the two users of it from driver code.
Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
Acked-by: default avatarPavel Machek <pavel@suse.cz>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent bd37b7fd
...@@ -4,9 +4,6 @@ ...@@ -4,9 +4,6 @@
// This file contains the OS dependant definition and function. // This file contains the OS dependant definition and function.
// Every OS has this file individual. // Every OS has this file individual.
// //
#define DebugUsbdStatusInformation( _A )
#ifndef COMMON_DEF #ifndef COMMON_DEF
#define COMMON_DEF #define COMMON_DEF
......
...@@ -481,7 +481,6 @@ Wb35Reg_EP0VM_complete(struct urb *urb) ...@@ -481,7 +481,6 @@ Wb35Reg_EP0VM_complete(struct urb *urb)
if (reg->EP0VM_status) { if (reg->EP0VM_status) {
#ifdef _PE_REG_DUMP_ #ifdef _PE_REG_DUMP_
WBDEBUG(("EP0 IoCompleteRoutine return error\n")); WBDEBUG(("EP0 IoCompleteRoutine return error\n"));
DebugUsbdStatusInformation( reg->EP0VM_status );
#endif #endif
reg->EP0vm_state = VM_STOP; reg->EP0vm_state = VM_STOP;
pHwData->SurpriseRemove = 1; pHwData->SurpriseRemove = 1;
......
...@@ -195,7 +195,6 @@ static void Wb35Rx_Complete(struct urb *urb) ...@@ -195,7 +195,6 @@ static void Wb35Rx_Complete(struct urb *urb)
if (pWb35Rx->EP3VM_status != 0) { if (pWb35Rx->EP3VM_status != 0) {
#ifdef _PE_USB_STATE_DUMP_ #ifdef _PE_USB_STATE_DUMP_
WBDEBUG(("EP3 IoCompleteRoutine return error\n")); WBDEBUG(("EP3 IoCompleteRoutine return error\n"));
DebugUsbdStatusInformation( pWb35Rx->EP3VM_status );
#endif #endif
pWb35Rx->EP3vm_state = VM_STOP; pWb35Rx->EP3vm_state = VM_STOP;
goto error; goto error;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment