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/node.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/node.c')
-rw-r--r-- | net/tipc/node.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c index 31dcca98201a..fb54719679a6 100644 --- a/net/tipc/node.c +++ b/net/tipc/node.c | |||
@@ -97,7 +97,6 @@ void tipc_node_delete(struct tipc_node *n_ptr) | |||
97 | if (!n_ptr) | 97 | if (!n_ptr) |
98 | return; | 98 | return; |
99 | 99 | ||
100 | dbg("node %x deleted\n", n_ptr->addr); | ||
101 | n_num = tipc_node(n_ptr->addr); | 100 | n_num = tipc_node(n_ptr->addr); |
102 | tipc_net.nodes[n_num] = NULL; | 101 | tipc_net.nodes[n_num] = NULL; |
103 | kfree(n_ptr); | 102 | kfree(n_ptr); |
@@ -124,7 +123,6 @@ void tipc_node_link_up(struct tipc_node *n_ptr, struct link *l_ptr) | |||
124 | l_ptr->name, l_ptr->b_ptr->net_plane); | 123 | l_ptr->name, l_ptr->b_ptr->net_plane); |
125 | 124 | ||
126 | if (!active[0]) { | 125 | if (!active[0]) { |
127 | dbg(" link %x into %x/%x\n", l_ptr, &active[0], &active[1]); | ||
128 | active[0] = active[1] = l_ptr; | 126 | active[0] = active[1] = l_ptr; |
129 | node_established_contact(n_ptr); | 127 | node_established_contact(n_ptr); |
130 | return; | 128 | return; |
@@ -302,7 +300,6 @@ void tipc_node_detach_link(struct tipc_node *n_ptr, struct link *l_ptr) | |||
302 | 300 | ||
303 | static void node_established_contact(struct tipc_node *n_ptr) | 301 | static void node_established_contact(struct tipc_node *n_ptr) |
304 | { | 302 | { |
305 | dbg("node_established_contact:-> %x\n", n_ptr->addr); | ||
306 | tipc_k_signal((Handler)tipc_named_node_up, n_ptr->addr); | 303 | tipc_k_signal((Handler)tipc_named_node_up, n_ptr->addr); |
307 | 304 | ||
308 | /* Syncronize broadcast acks */ | 305 | /* Syncronize broadcast acks */ |