Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Pekka Enberg and committed by
Greg Kroah-Hartman
132e755a bd37b7fd

-5
-3
drivers/staging/winbond/common.h
··· 4 4 // This file contains the OS dependant definition and function. 5 5 // Every OS has this file individual. 6 6 // 7 - 8 - #define DebugUsbdStatusInformation( _A ) 9 - 10 7 #ifndef COMMON_DEF 11 8 #define COMMON_DEF 12 9
-1
drivers/staging/winbond/wb35reg.c
··· 481 481 if (reg->EP0VM_status) { 482 482 #ifdef _PE_REG_DUMP_ 483 483 WBDEBUG(("EP0 IoCompleteRoutine return error\n")); 484 - DebugUsbdStatusInformation( reg->EP0VM_status ); 485 484 #endif 486 485 reg->EP0vm_state = VM_STOP; 487 486 pHwData->SurpriseRemove = 1;
-1
drivers/staging/winbond/wb35rx.c
··· 195 195 if (pWb35Rx->EP3VM_status != 0) { 196 196 #ifdef _PE_USB_STATE_DUMP_ 197 197 WBDEBUG(("EP3 IoCompleteRoutine return error\n")); 198 - DebugUsbdStatusInformation( pWb35Rx->EP3VM_status ); 199 198 #endif 200 199 pWb35Rx->EP3vm_state = VM_STOP; 201 200 goto error;