mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 06:21:31 +00:00
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:
parent
b29f142849
commit
7ced6890bf
2 changed files with 3 additions and 86 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue