Skip to content

Commit

Permalink
Staging: w35und: remove useless macro from common.h
Browse files Browse the repository at this point in the history
The DebugUsbdStatusInformation macro doesn't do anything useful so remove the
definition and the two users of it from driver code.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Pekka Enberg authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent bd37b7f commit 132e755
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions drivers/staging/winbond/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
// This file contains the OS dependant definition and function.
// Every OS has this file individual.
//

#define DebugUsbdStatusInformation( _A )

#ifndef COMMON_DEF
#define COMMON_DEF

Expand Down
1 change: 0 additions & 1 deletion drivers/staging/winbond/wb35reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,6 @@ Wb35Reg_EP0VM_complete(struct urb *urb)
if (reg->EP0VM_status) {
#ifdef _PE_REG_DUMP_
WBDEBUG(("EP0 IoCompleteRoutine return error\n"));
DebugUsbdStatusInformation( reg->EP0VM_status );
#endif
reg->EP0vm_state = VM_STOP;
pHwData->SurpriseRemove = 1;
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/winbond/wb35rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ static void Wb35Rx_Complete(struct urb *urb)
if (pWb35Rx->EP3VM_status != 0) {
#ifdef _PE_USB_STATE_DUMP_
WBDEBUG(("EP3 IoCompleteRoutine return error\n"));
DebugUsbdStatusInformation( pWb35Rx->EP3VM_status );
#endif
pWb35Rx->EP3vm_state = VM_STOP;
goto error;
Expand Down

0 comments on commit 132e755

Please sign in to comment.