From: YueHaibing Date: Tue, 17 Jul 2018 13:58:46 +0000 (+0800) Subject: tipc: remove unused tipc_link_is_active X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c94b1ac73244ff7eafb1a5df0b1e9c64f1b46113;p=openwrt%2Fstaging%2Fblogic.git tipc: remove unused tipc_link_is_active tipc_link_is_active is no longer used and can be removed. Signed-off-by: YueHaibing Acked-by: Jon Maloy Signed-off-by: David S. Miller --- 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;