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>
This commit is contained in:

committed by
Paul Gortmaker

parent
2cf8aa19fe
commit
568fc588fc
@@ -91,28 +91,6 @@ void tipc_printf(struct print_buf *, const char *fmt, ...);
|
||||
#define TIPC_OUTPUT TIPC_LOG
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_TIPC_DEBUG
|
||||
|
||||
/*
|
||||
* DBG_OUTPUT is the destination print buffer for debug messages.
|
||||
*/
|
||||
#ifndef DBG_OUTPUT
|
||||
#define DBG_OUTPUT TIPC_LOG
|
||||
#endif
|
||||
|
||||
#define msg_dbg(msg, txt) tipc_msg_dbg(DBG_OUTPUT, msg, txt);
|
||||
|
||||
void tipc_msg_dbg(struct print_buf *, struct tipc_msg *, const char *);
|
||||
|
||||
#else
|
||||
|
||||
#define msg_dbg(msg, txt) do {} while (0)
|
||||
|
||||
#define tipc_msg_dbg(buf, msg, txt) do {} while (0)
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* TIPC-specific error codes
|
||||
*/
|
||||
|
Reference in New Issue
Block a user