diff options
Diffstat (limited to 'net/tipc/core.h')
-rw-r--r-- | net/tipc/core.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/net/tipc/core.h b/net/tipc/core.h index c376ec06e69a..600c433e1467 100644 --- a/net/tipc/core.h +++ b/net/tipc/core.h | |||
@@ -91,28 +91,6 @@ void tipc_printf(struct print_buf *, const char *fmt, ...); | |||
91 | #define TIPC_OUTPUT TIPC_LOG | 91 | #define TIPC_OUTPUT TIPC_LOG |
92 | #endif | 92 | #endif |
93 | 93 | ||
94 | #ifdef CONFIG_TIPC_DEBUG | ||
95 | |||
96 | /* | ||
97 | * DBG_OUTPUT is the destination print buffer for debug messages. | ||
98 | */ | ||
99 | #ifndef DBG_OUTPUT | ||
100 | #define DBG_OUTPUT TIPC_LOG | ||
101 | #endif | ||
102 | |||
103 | #define msg_dbg(msg, txt) tipc_msg_dbg(DBG_OUTPUT, msg, txt); | ||
104 | |||
105 | void tipc_msg_dbg(struct print_buf *, struct tipc_msg *, const char *); | ||
106 | |||
107 | #else | ||
108 | |||
109 | #define msg_dbg(msg, txt) do {} while (0) | ||
110 | |||
111 | #define tipc_msg_dbg(buf, msg, txt) do {} while (0) | ||
112 | |||
113 | #endif | ||
114 | |||
115 | |||
116 | /* | 94 | /* |
117 | * TIPC-specific error codes | 95 | * TIPC-specific error codes |
118 | */ | 96 | */ |