summaryrefslogtreecommitdiff
path: root/net/tipc/link.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-07-17 21:58:46 +0800
committerDavid S. Miller <davem@davemloft.net>2018-07-18 13:48:46 -0700
commitc94b1ac73244ff7eafb1a5df0b1e9c64f1b46113 (patch)
tree9233c4a4f49956923bb2bb58172d7bb68e11a438 /net/tipc/link.c
parent74525cc5f5f7c02f02ed356a37af5c0564ad9565 (diff)
tipc: remove unused tipc_link_is_active
tipc_link_is_active is no longer used and can be removed. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Acked-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/link.c')
-rw-r--r--net/tipc/link.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/tipc/link.c b/net/tipc/link.c
index df763be38541..6987ffc8e7a1 100644
--- a/net/tipc/link.c
+++ b/net/tipc/link.c
@@ -297,11 +297,6 @@ static bool link_is_bc_rcvlink(struct tipc_link *l)
return ((l->bc_rcvlink == l) && !link_is_bc_sndlink(l));
}
-int tipc_link_is_active(struct tipc_link *l)
-{
- return l->active;
-}
-
void tipc_link_set_active(struct tipc_link *l, bool active)
{
l->active = active;