diff options
author | Allan Stephens <Allan.Stephens@windriver.com> | 2010-12-31 13:59:25 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-01 16:57:52 -0500 |
commit | b29f14284989b3d0b3a5ce268b5b1fc4df9c5795 (patch) | |
tree | a690fc7db347cb8ca2b38dc1da73a477d1fb4779 /net/tipc/name_distr.c | |
parent | f5e75269f59f7c3816f23314b924895e4ecf8409 (diff) |
tipc: remove calls to dbg() and msg_dbg()
Eliminates obsolete calls to two of TIPC's main debugging macros, as well
as a pair of 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>
Diffstat (limited to 'net/tipc/name_distr.c')
-rw-r--r-- | net/tipc/name_distr.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/net/tipc/name_distr.c b/net/tipc/name_distr.c index c4583fe888d8..0dd648ec0809 100644 --- a/net/tipc/name_distr.c +++ b/net/tipc/name_distr.c | |||
@@ -87,7 +87,6 @@ static void publ_to_item(struct distr_item *i, struct publication *p) | |||
87 | i->upper = htonl(p->upper); | 87 | i->upper = htonl(p->upper); |
88 | i->ref = htonl(p->ref); | 88 | i->ref = htonl(p->ref); |
89 | i->key = htonl(p->key); | 89 | i->key = htonl(p->key); |
90 | dbg("publ_to_item: %u, %u, %u\n", p->type, p->lower, p->upper); | ||
91 | } | 90 | } |
92 | 91 | ||
93 | /** | 92 | /** |
@@ -147,7 +146,6 @@ void tipc_named_publish(struct publication *publ) | |||
147 | 146 | ||
148 | item = (struct distr_item *)msg_data(buf_msg(buf)); | 147 | item = (struct distr_item *)msg_data(buf_msg(buf)); |
149 | publ_to_item(item, publ); | 148 | publ_to_item(item, publ); |
150 | dbg("tipc_named_publish: broadcasting publish msg\n"); | ||
151 | named_cluster_distribute(buf); | 149 | named_cluster_distribute(buf); |
152 | } | 150 | } |
153 | 151 | ||
@@ -171,7 +169,6 @@ void tipc_named_withdraw(struct publication *publ) | |||
171 | 169 | ||
172 | item = (struct distr_item *)msg_data(buf_msg(buf)); | 170 | item = (struct distr_item *)msg_data(buf_msg(buf)); |
173 | publ_to_item(item, publ); | 171 | publ_to_item(item, publ); |
174 | dbg("tipc_named_withdraw: broadcasting withdraw msg\n"); | ||
175 | named_cluster_distribute(buf); | 172 | named_cluster_distribute(buf); |
176 | } | 173 | } |
177 | 174 | ||
@@ -209,9 +206,6 @@ void tipc_named_node_up(unsigned long node) | |||
209 | left -= ITEM_SIZE; | 206 | left -= ITEM_SIZE; |
210 | if (!left) { | 207 | if (!left) { |
211 | msg_set_link_selector(buf_msg(buf), node); | 208 | msg_set_link_selector(buf_msg(buf), node); |
212 | dbg("tipc_named_node_up: sending publish msg to " | ||
213 | "<%u.%u.%u>\n", tipc_zone(node), | ||
214 | tipc_cluster(node), tipc_node(node)); | ||
215 | tipc_link_send(buf, node, node); | 209 | tipc_link_send(buf, node, node); |
216 | buf = NULL; | 210 | buf = NULL; |
217 | } | 211 | } |
@@ -236,8 +230,6 @@ static void node_is_down(struct publication *publ) | |||
236 | struct publication *p; | 230 | struct publication *p; |
237 | 231 | ||
238 | write_lock_bh(&tipc_nametbl_lock); | 232 | write_lock_bh(&tipc_nametbl_lock); |
239 | dbg("node_is_down: withdrawing %u, %u, %u\n", | ||
240 | publ->type, publ->lower, publ->upper); | ||
241 | publ->key += 1222345; | 233 | publ->key += 1222345; |
242 | p = tipc_nametbl_remove_publ(publ->type, publ->lower, | 234 | p = tipc_nametbl_remove_publ(publ->type, publ->lower, |
243 | publ->node, publ->ref, publ->key); | 235 | publ->node, publ->ref, publ->key); |
@@ -268,9 +260,6 @@ void tipc_named_recv(struct sk_buff *buf) | |||
268 | write_lock_bh(&tipc_nametbl_lock); | 260 | write_lock_bh(&tipc_nametbl_lock); |
269 | while (count--) { | 261 | while (count--) { |
270 | if (msg_type(msg) == PUBLICATION) { | 262 | if (msg_type(msg) == PUBLICATION) { |
271 | dbg("tipc_named_recv: got publication for %u, %u, %u\n", | ||
272 | ntohl(item->type), ntohl(item->lower), | ||
273 | ntohl(item->upper)); | ||
274 | publ = tipc_nametbl_insert_publ(ntohl(item->type), | 263 | publ = tipc_nametbl_insert_publ(ntohl(item->type), |
275 | ntohl(item->lower), | 264 | ntohl(item->lower), |
276 | ntohl(item->upper), | 265 | ntohl(item->upper), |
@@ -285,9 +274,6 @@ void tipc_named_recv(struct sk_buff *buf) | |||
285 | (net_ev_handler)node_is_down); | 274 | (net_ev_handler)node_is_down); |
286 | } | 275 | } |
287 | } else if (msg_type(msg) == WITHDRAWAL) { | 276 | } else if (msg_type(msg) == WITHDRAWAL) { |
288 | dbg("tipc_named_recv: got withdrawl for %u, %u, %u\n", | ||
289 | ntohl(item->type), ntohl(item->lower), | ||
290 | ntohl(item->upper)); | ||
291 | publ = tipc_nametbl_remove_publ(ntohl(item->type), | 277 | publ = tipc_nametbl_remove_publ(ntohl(item->type), |
292 | ntohl(item->lower), | 278 | ntohl(item->lower), |
293 | msg_orignode(msg), | 279 | msg_orignode(msg), |