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/discover.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/discover.c')
-rw-r--r-- | net/tipc/discover.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/tipc/discover.c b/net/tipc/discover.c index 80799f6ba892..e7223789d150 100644 --- a/net/tipc/discover.c +++ b/net/tipc/discover.c | |||
@@ -133,7 +133,6 @@ void tipc_disc_recv_msg(struct sk_buff *buf, struct bearer *b_ptr) | |||
133 | u32 type = msg_type(msg); | 133 | u32 type = msg_type(msg); |
134 | 134 | ||
135 | msg_get_media_addr(msg,&media_addr); | 135 | msg_get_media_addr(msg,&media_addr); |
136 | msg_dbg(msg, "RECV:"); | ||
137 | buf_discard(buf); | 136 | buf_discard(buf); |
138 | 137 | ||
139 | if (net_id != tipc_net_id) | 138 | if (net_id != tipc_net_id) |
@@ -156,7 +155,6 @@ void tipc_disc_recv_msg(struct sk_buff *buf, struct bearer *b_ptr) | |||
156 | struct tipc_node *n_ptr = tipc_node_find(orig); | 155 | struct tipc_node *n_ptr = tipc_node_find(orig); |
157 | int link_fully_up; | 156 | int link_fully_up; |
158 | 157 | ||
159 | dbg(" in own cluster\n"); | ||
160 | if (n_ptr == NULL) { | 158 | if (n_ptr == NULL) { |
161 | n_ptr = tipc_node_create(orig); | 159 | n_ptr = tipc_node_create(orig); |
162 | if (!n_ptr) | 160 | if (!n_ptr) |
@@ -173,7 +171,6 @@ void tipc_disc_recv_msg(struct sk_buff *buf, struct bearer *b_ptr) | |||
173 | 171 | ||
174 | link = n_ptr->links[b_ptr->identity]; | 172 | link = n_ptr->links[b_ptr->identity]; |
175 | if (!link) { | 173 | if (!link) { |
176 | dbg("creating link\n"); | ||
177 | link = tipc_link_create(b_ptr, orig, &media_addr); | 174 | link = tipc_link_create(b_ptr, orig, &media_addr); |
178 | if (!link) { | 175 | if (!link) { |
179 | spin_unlock_bh(&n_ptr->lock); | 176 | spin_unlock_bh(&n_ptr->lock); |
@@ -198,7 +195,6 @@ void tipc_disc_recv_msg(struct sk_buff *buf, struct bearer *b_ptr) | |||
198 | return; | 195 | return; |
199 | rbuf = tipc_disc_init_msg(DSC_RESP_MSG, 1, orig, b_ptr); | 196 | rbuf = tipc_disc_init_msg(DSC_RESP_MSG, 1, orig, b_ptr); |
200 | if (rbuf != NULL) { | 197 | if (rbuf != NULL) { |
201 | msg_dbg(buf_msg(rbuf),"SEND:"); | ||
202 | b_ptr->media->send_msg(rbuf, &b_ptr->publ, &media_addr); | 198 | b_ptr->media->send_msg(rbuf, &b_ptr->publ, &media_addr); |
203 | buf_discard(rbuf); | 199 | buf_discard(rbuf); |
204 | } | 200 | } |