Skip to content

Commit

Permalink
tipc: remove unused tipc_link_is_active
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
YueHaibing authored and David S. Miller committed Jul 18, 2018
1 parent 74525cc commit c94b1ac
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions net/tipc/link.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c94b1ac

Please sign in to comment.