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

index 511d96c9141b6ec52728aea12e9b01f3fea6f688..2e23bf65a8d74e15d56eaa439a6b5fde46740e3d 100644 (file)
@@ -237,8 +237,6 @@ do { if (rt_global_debug_component & component) \
               ##args);\
 }while(0);
 
-#define RTL819x_DEBUG
-#ifdef RTL819x_DEBUG
 #define assert(expr) \
         if (!(expr)) {                                  \
                 printk( "Assertion failed! %s,%s,%s,line=%d\n", \
@@ -258,10 +256,6 @@ do { if (rt_global_debug_component & component) \
                         printk("\n");                   \
                 }                                       \
         } while (0)
-#else
-#define assert(expr) do {} while (0)
-#define RT_DEBUG_DATA(level, data, datalen) do {} while(0)
-#endif
 
 typedef struct _rtl_fs_debug
 {