aboutsummaryrefslogtreecommitdiff
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2014-01-04 13:49:14 -0800
committerDavid S. Miller <davem@davemloft.net>2014-01-04 20:18:50 -0500
commiteec73f1c968d6d6cafa5ca19d53b6618bbd20e1e (patch)
treed7533f7a54cfa90c3a206a81419100e68ecdd4d7 /net/tipc/node.c
parent9805696399ac4e1a7f59ebccc614cbd5d7dace6d (diff)
tipc: remove unused code
Remove dead code; tipc_bearer_find_interface tipc_node_redundant_links This may break out of tree version of TIPC if there still is one. But that maybe a good thing :-) Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/node.c')
-rw-r--r--net/tipc/node.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/tipc/node.c b/net/tipc/node.c
index bf1ac89b480..e167d261556 100644
--- a/net/tipc/node.c
+++ b/net/tipc/node.c
@@ -235,11 +235,6 @@ int tipc_node_active_links(struct tipc_node *n_ptr)
return n_ptr->active_links[0] != NULL;
}
-int tipc_node_redundant_links(struct tipc_node *n_ptr)
-{
- return n_ptr->working_links > 1;
-}
-
int tipc_node_is_up(struct tipc_node *n_ptr)
{
return tipc_node_active_links(n_ptr);