summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlags49_h2
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2014-01-09 18:29:03 +0100
committerGreg Kroah-Hartman2014-01-09 18:29:03 +0100
commit990cbe500c86e0451b179c11be507d998eb59fcc (patch)
tree01579dc376fd537211d295c9dc49fdee8453cac9 /drivers/staging/wlags49_h2
parentstaging: wlags49_h2: remove DBG_LEAVE() (diff)
downloadkernel-qcow2-linux-990cbe500c86e0451b179c11be507d998eb59fcc.tar.gz
kernel-qcow2-linux-990cbe500c86e0451b179c11be507d998eb59fcc.tar.xz
kernel-qcow2-linux-990cbe500c86e0451b179c11be507d998eb59fcc.zip
staging: wlags49_h2: remove DBG_TRAP()
It didn't do anything, so just remove it, it's useless. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlags49_h2')
-rw-r--r--drivers/staging/wlags49_h2/debug.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/wlags49_h2/debug.h b/drivers/staging/wlags49_h2/debug.h
index d73b306cf04b..e484065cc955 100644
--- a/drivers/staging/wlags49_h2/debug.h
+++ b/drivers/staging/wlags49_h2/debug.h
@@ -120,11 +120,6 @@
#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); }
@@ -133,7 +128,6 @@
if (DBG_FLAGS(A) & DBG_ERROR_ON) { \
DBG_PRINT("%s:ERROR:%s ", DBG_NAME(A), __func__); \
DBG_PRINTC(S); \
- DBG_TRAP; \
} } while (0)
@@ -173,7 +167,6 @@
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...)