aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/core.h
diff options
context:
space:
mode:
authorErik Hugne <erik.hugne@ericsson.com>2012-06-29 00:50:21 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-07-13 19:25:16 -0400
commit568fc588fce85602e4e2c7573f6f912311306b72 (patch)
tree38745d71fae6c0aff9105af0c2264e8dab1fe9d9 /net/tipc/core.h
parent2cf8aa19fe8bec578b707daa383ebff80e3f81a1 (diff)
tipc: remove TIPC packet debugging functions and macros
The link queue traces and packet level debug functions served a purpose during early development, but are now redundant since there are other, more capable tools available for debugging at the packet level. The TIPC_DEBUG Kconfig option is removed since it does not provide any extra debugging features anymore. This gets rid of a lot of tipc_printf usages, which will make the pending cleanup work of that function easier. Signed-off-by: Erik Hugne <erik.hugne@ericsson.com> Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'net/tipc/core.h')
-rw-r--r--net/tipc/core.h22
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
105void 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 */