staging: rtl8192e: Remove dead code associated with ENABLE_NULL_PT_DEBUG
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 14 Jul 2011 22:22:17 +0000 (17:22 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 02:18:09 +0000 (21:18 -0500)
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/rtllib.h

index 4ecfe5f0e0830880b854701085bc0a7f5bc196ee..352ee474bbfa514202409cc6ec5d5d688f1da012 100644 (file)
@@ -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;