summaryrefslogtreecommitdiff
path: root/drivers/staging/winbond
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2009-01-08 11:31:28 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 14:53:16 -0700
commit132e755aedec1da154d516f33d23bdef008c4f9f (patch)
treea3765675a07eb408ae79732b865f3f073a0cc2cd /drivers/staging/winbond
parentbd37b7fddf51431faf9c32cd22356421913cfce8 (diff)
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: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/winbond')
-rw-r--r--drivers/staging/winbond/common.h3
-rw-r--r--drivers/staging/winbond/wb35reg.c1
-rw-r--r--drivers/staging/winbond/wb35rx.c1
3 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/winbond/common.h b/drivers/staging/winbond/common.h
index 61ccc869a6ed..4409edd59ba1 100644
--- a/drivers/staging/winbond/common.h
+++ b/drivers/staging/winbond/common.h
@@ -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
diff --git a/drivers/staging/winbond/wb35reg.c b/drivers/staging/winbond/wb35reg.c
index 87c2c431b42b..e9d1b73b0df4 100644
--- a/drivers/staging/winbond/wb35reg.c
+++ b/drivers/staging/winbond/wb35reg.c
@@ -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;
diff --git a/drivers/staging/winbond/wb35rx.c b/drivers/staging/winbond/wb35rx.c
index 7f8b6d749a47..63d55911893f 100644
--- a/drivers/staging/winbond/wb35rx.c
+++ b/drivers/staging/winbond/wb35rx.c
@@ -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;