tipc: remove dump() and tipc_dump_dbg()
Eliminates calls to two debugging macros that are being completely obsoleted, as well as any associated debugging routines that are no longer required. Signed-off-by: Allan Stephens <Allan.Stephens@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
b29f142849
commit
7ced6890bf
@ -145,23 +145,15 @@ void tipc_printf(struct print_buf *, const char *fmt, ...);
|
||||
if (DBG_OUTPUT != TIPC_NULL) \
|
||||
tipc_msg_dbg(DBG_OUTPUT, msg, txt); \
|
||||
} while (0)
|
||||
#define dump(fmt, arg...) \
|
||||
do { \
|
||||
if (DBG_OUTPUT != TIPC_NULL) \
|
||||
tipc_dump_dbg(DBG_OUTPUT, fmt, ##arg); \
|
||||
} while (0)
|
||||
|
||||
void tipc_msg_dbg(struct print_buf *, struct tipc_msg *, const char *);
|
||||
void tipc_dump_dbg(struct print_buf *, const char *fmt, ...);
|
||||
|
||||
#else
|
||||
|
||||
#define dbg(fmt, arg...) do {} while (0)
|
||||
#define msg_dbg(msg, txt) do {} while (0)
|
||||
#define dump(fmt, arg...) do {} while (0)
|
||||
|
||||
#define tipc_msg_dbg(...) do {} while (0)
|
||||
#define tipc_dump_dbg(...) do {} while (0)
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user