diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-07-17 21:58:46 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-18 13:48:46 -0700 |
commit | c94b1ac73244ff7eafb1a5df0b1e9c64f1b46113 (patch) | |
tree | 9233c4a4f49956923bb2bb58172d7bb68e11a438 | |
parent | 74525cc5f5f7c02f02ed356a37af5c0564ad9565 (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>
-rw-r--r-- | net/tipc/link.c | 5 |
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; |