[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0901081130530.15334@melkki.cs.Helsinki.FI>
Date: Thu, 8 Jan 2009 11:31:28 +0200 (EET)
From: Pekka J Enberg <penberg@...helsinki.fi>
To: Greg Kroah-Hartman <greg@...ah.com>
cc: Pavel Machek <pavel@...e.cz>, linux-kernel@...r.kernel.org
Subject: [PATCH 2/3] w35und: remove useless macro from common.h
From: Pekka Enberg <penberg@...helsinki.fi>
The DebugUsbdStatusInformation macro doesn't do anything useful so remove the
definition and the two users of it from driver code.
Cc: Pavel Machek <pavel@...e.cz>
Signed-off-by: Pekka Enberg <penberg@...helsinki.fi>
---
drivers/staging/winbond/common.h | 3 ---
drivers/staging/winbond/wb35reg.c | 1 -
drivers/staging/winbond/wb35rx.c | 1 -
3 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/winbond/common.h b/drivers/staging/winbond/common.h
index 61ccc86..4409edd 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 c74b3fd..9d0a3aa 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 7f8b6d7..63d5591 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;
--
1.5.4.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists