Skip to content

Commit

Permalink
staging: rtl8192e: Remove dead code associated with ENABLE_NULL_PT_DEBUG
Browse files Browse the repository at this point in the history
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
  • Loading branch information
Larry Finger authored and Larry Finger committed Aug 24, 2011
1 parent af7daa1 commit 438af18
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions drivers/staging/rtl8192e/rtllib.h
Original file line number Diff line number Diff line change
Expand Up @@ -454,27 +454,8 @@ typedef enum _RT_OP_MODE{
#define IEEE_CRYPT_ALG_NAME_LEN 16

#define MAX_IE_LEN 0xff
#ifdef ENABLE_NULL_PT_DEBUG
#define RT_ASSERT_RET(_Exp) \
if (!(_Exp)) \
{ \
printk("Rtl819x: "); \
printk( "Assertion failed! %s,%s,line=%d\n", \
#_Exp,__func__,__LINE__); \
return; \
}
#define RT_ASSERT_RET_VALUE(_Exp,Ret) \
if (!(_Exp)) \
{ \
printk("Rtl819x: "); \
printk( "Assertion failed! %s,%s,line=%d\n", \
#_Exp,__func__,__LINE__); \
return (Ret); \
}
#else
#define RT_ASSERT_RET(_Exp) do {} while(0)
#define RT_ASSERT_RET_VALUE(_Exp,Ret) do {} while(0)
#endif

typedef struct ieee_param {
u32 cmd;
Expand Down

0 comments on commit 438af18

Please sign in to comment.