diff options
Diffstat (limited to 'net/tipc/core.h')
-rw-r--r-- | net/tipc/core.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/net/tipc/core.h b/net/tipc/core.h index b4e54f8dd43b..3af0b36e3f1a 100644 --- a/net/tipc/core.h +++ b/net/tipc/core.h | |||
@@ -145,23 +145,15 @@ void tipc_printf(struct print_buf *, const char *fmt, ...); | |||
145 | if (DBG_OUTPUT != TIPC_NULL) \ | 145 | if (DBG_OUTPUT != TIPC_NULL) \ |
146 | tipc_msg_dbg(DBG_OUTPUT, msg, txt); \ | 146 | tipc_msg_dbg(DBG_OUTPUT, msg, txt); \ |
147 | } while (0) | 147 | } while (0) |
148 | #define dump(fmt, arg...) \ | ||
149 | do { \ | ||
150 | if (DBG_OUTPUT != TIPC_NULL) \ | ||
151 | tipc_dump_dbg(DBG_OUTPUT, fmt, ##arg); \ | ||
152 | } while (0) | ||
153 | 148 | ||
154 | void tipc_msg_dbg(struct print_buf *, struct tipc_msg *, const char *); | 149 | void tipc_msg_dbg(struct print_buf *, struct tipc_msg *, const char *); |
155 | void tipc_dump_dbg(struct print_buf *, const char *fmt, ...); | ||
156 | 150 | ||
157 | #else | 151 | #else |
158 | 152 | ||
159 | #define dbg(fmt, arg...) do {} while (0) | 153 | #define dbg(fmt, arg...) do {} while (0) |
160 | #define msg_dbg(msg, txt) do {} while (0) | 154 | #define msg_dbg(msg, txt) do {} while (0) |
161 | #define dump(fmt, arg...) do {} while (0) | ||
162 | 155 | ||
163 | #define tipc_msg_dbg(...) do {} while (0) | 156 | #define tipc_msg_dbg(...) do {} while (0) |
164 | #define tipc_dump_dbg(...) do {} while (0) | ||
165 | 157 | ||
166 | #endif | 158 | #endif |
167 | 159 | ||