Skip to content

Commit

Permalink
staging: rtl8192e: Remove dead code associated with RTL819x_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 1bb9d9a commit 9ab2da3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/staging/rtl8192e/rtl_debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -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", \
Expand All @@ -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
{
Expand Down

0 comments on commit 9ab2da3

Please sign in to comment.