]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Staging: w35und: remove useless macro from common.h
authorPekka Enberg <penberg@cs.helsinki.fi>
Thu, 8 Jan 2009 09:31:28 +0000 (11:31 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:16 +0000 (14:53 -0700)
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>
drivers/staging/winbond/common.h
drivers/staging/winbond/wb35reg.c
drivers/staging/winbond/wb35rx.c

index 61ccc869a6ed07f88c44385e109048a9bdf3f400..4409edd59ba188bdb300bcb54d65fb31a2022b68 100644 (file)
@@ -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
 
index 87c2c431b42bdfb6d38b949740249a0e691a2366..e9d1b73b0df4cc7c4451cc8224960991465c0645 100644 (file)
@@ -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;
index 7f8b6d749a47286084aa1e48a4ca5816f9b23190..63d55911893f2de06fcba34f4729d211f4598391 100644 (file)
@@ -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;