]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: wlags49_h2: remove DBG_TRAP()
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2014 17:29:03 +0000 (09:29 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2014 17:29:03 +0000 (09:29 -0800)
It didn't do anything, so just remove it, it's useless.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlags49_h2/debug.h

index d73b306cf04b8ffb342fc95763fd910628d4d7f9..e484065cc955e131905e1a117c273bf7174cbf0f 100644 (file)
 #endif /* DBG_PRINTC */
 
 
-#ifndef DBG_TRAP
-#   define DBG_TRAP         {}
-#endif /* DBG_TRAP */
-
-
 #define DBG_PARAM(A, N, F, S...)   {if (DBG_FLAGS(A) & DBG_PARAM_ON) \
                                DBG_PRINT("  %s -- "F"\n", N, S); }
 
                if (DBG_FLAGS(A) & DBG_ERROR_ON) {                      \
                        DBG_PRINT("%s:ERROR:%s ", DBG_NAME(A), __func__); \
                        DBG_PRINTC(S);                                  \
-                       DBG_TRAP;                                       \
                } } while (0)
 
 
                if (!(C)) {                                             \
                        DBG_PRINT("ASSERT(%s) -- %s#%d (%s)\n",         \
                                  #C, __FILE__, __LINE__, __func__);    \
-                       DBG_TRAP;                                       \
                } } while (0)
 
 typedef struct {
@@ -188,7 +181,6 @@ typedef struct {
 /****************************************************************************/
 
 #define DBG_DEFN
-#define DBG_TRAP
 #define DBG_PRINT(S...)
 #define DBG_PARAM(A, N, F, S...)
 #define DBG_ERROR(A, S...)