Commit 990cbe50 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

staging: wlags49_h2: remove DBG_TRAP()

It didn't do anything, so just remove it, it's useless.
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3c319c96
...@@ -120,11 +120,6 @@ ...@@ -120,11 +120,6 @@
#endif /* DBG_PRINTC */ #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) \ #define DBG_PARAM(A, N, F, S...) {if (DBG_FLAGS(A) & DBG_PARAM_ON) \
DBG_PRINT(" %s -- "F"\n", N, S); } DBG_PRINT(" %s -- "F"\n", N, S); }
...@@ -133,7 +128,6 @@ ...@@ -133,7 +128,6 @@
if (DBG_FLAGS(A) & DBG_ERROR_ON) { \ if (DBG_FLAGS(A) & DBG_ERROR_ON) { \
DBG_PRINT("%s:ERROR:%s ", DBG_NAME(A), __func__); \ DBG_PRINT("%s:ERROR:%s ", DBG_NAME(A), __func__); \
DBG_PRINTC(S); \ DBG_PRINTC(S); \
DBG_TRAP; \
} } while (0) } } while (0)
...@@ -173,7 +167,6 @@ ...@@ -173,7 +167,6 @@
if (!(C)) { \ if (!(C)) { \
DBG_PRINT("ASSERT(%s) -- %s#%d (%s)\n", \ DBG_PRINT("ASSERT(%s) -- %s#%d (%s)\n", \
#C, __FILE__, __LINE__, __func__); \ #C, __FILE__, __LINE__, __func__); \
DBG_TRAP; \
} } while (0) } } while (0)
typedef struct { typedef struct {
...@@ -188,7 +181,6 @@ typedef struct { ...@@ -188,7 +181,6 @@ typedef struct {
/****************************************************************************/ /****************************************************************************/
#define DBG_DEFN #define DBG_DEFN
#define DBG_TRAP
#define DBG_PRINT(S...) #define DBG_PRINT(S...)
#define DBG_PARAM(A, N, F, S...) #define DBG_PARAM(A, N, F, S...)
#define DBG_ERROR(A, S...) #define DBG_ERROR(A, S...)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment