diff options
author | David Kilroy | 2011-09-16 01:20:51 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2011-09-16 20:34:52 +0200 |
commit | 7a9541c3246a6c8b1129f1668fe5e83f1f8b7354 (patch) | |
tree | a143b8e4fe043b6fffe5cd7947ef8650ae666839 /drivers/staging/wlags49_h2/hcfdef.h | |
parent | staging: wlags49_h2: Simplify HCF_ENCAP usage (diff) | |
download | kernel-qcow2-linux-7a9541c3246a6c8b1129f1668fe5e83f1f8b7354.tar.gz kernel-qcow2-linux-7a9541c3246a6c8b1129f1668fe5e83f1f8b7354.tar.xz kernel-qcow2-linux-7a9541c3246a6c8b1129f1668fe5e83f1f8b7354.zip |
staging: wlags49_h2: Remove some unused defines
HCF_INT_OFF, _TCHAR_DEFINED, HCF_LITTLE_ENDIAN, HCF_TALLIES_EXTRA
HCF_ENTRY, HCF_EXIT, OUTPUTDEBUGMSG, ASSERTDEBUGMSG
Signed-off-by: David Kilroy <kilroyd@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/wlags49_h2/hcfdef.h')
-rw-r--r-- | drivers/staging/wlags49_h2/hcfdef.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/wlags49_h2/hcfdef.h b/drivers/staging/wlags49_h2/hcfdef.h index 8e08d7b16b9f..fe003ed8d66a 100644 --- a/drivers/staging/wlags49_h2/hcfdef.h +++ b/drivers/staging/wlags49_h2/hcfdef.h @@ -686,7 +686,6 @@ err: someone redefined these macros while the implemenation assumes they are equ #define HCFLOGENTRY( where, what ) do { \ if ( (ifbp->IFB_AssertWhere = where) <= 15 ) { \ - HCF_ENTRY( ifbp ); \ HCFASSERT( (ifbp->IFB_AssertTrace & 1<<((where)&0xF)) == 0, ifbp->IFB_AssertTrace ); \ ifbp->IFB_AssertTrace |= 1<<((where)&0xF); \ } \ @@ -696,7 +695,6 @@ err: someone redefined these macros while the implemenation assumes they are equ #define HCFLOGEXIT( where ) do { \ if ( (ifbp->IFB_AssertWhere = where) <= 15 ) { \ - HCF_EXIT( ifbp ); \ ifbp->IFB_AssertTrace &= ~(1<<((where)&0xF)); \ } \ HCFTRACE(ifbp, (where)|HCF_TRACE_EXIT ); \ @@ -705,8 +703,8 @@ err: someone redefined these macros while the implemenation assumes they are equ #else // HCF_ASSERT #define HCFASSERT( x, q ) do { } while(0) #define MMDASSERT( x, q ) -#define HCFLOGENTRY( where, what ) do {HCF_ENTRY( ifbp );} while (0) -#define HCFLOGEXIT( where ) do {HCF_EXIT( ifbp );} while(0) +#define HCFLOGENTRY( where, what ) do { } while(0) +#define HCFLOGEXIT( where ) do { } while(0) #endif // HCF_ASSERT #if HCF_INT_ON |