From: Larry Finger Date: Thu, 14 Jul 2011 23:41:10 +0000 (-0500) Subject: staging: rtl8192e: Remove dead code associated with RTL819x_DEBUG X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9ab2da30490c095834332aeb3c0a01d1f1ed0fb9;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8192e: Remove dead code associated with RTL819x_DEBUG Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtl_debug.h b/drivers/staging/rtl8192e/rtl_debug.h index 511d96c9141b..2e23bf65a8d7 100644 --- a/drivers/staging/rtl8192e/rtl_debug.h +++ b/drivers/staging/rtl8192e/rtl_debug.h @@ -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 {