Skip to content

Commit

Permalink
tipc: remove unused tipc_group_size
Browse files Browse the repository at this point in the history
After commit eb929a9 ("tipc: improve poll() for group member socket"),
it is no longer used.

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 c94b1ac commit d81d25e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions net/tipc/group.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,6 @@ u32 tipc_group_exclude(struct tipc_group *grp)
return 0;
}

int tipc_group_size(struct tipc_group *grp)
{
return grp->member_cnt;
}

struct tipc_group *tipc_group_create(struct net *net, u32 portid,
struct tipc_group_req *mreq,
bool *group_is_open)
Expand Down

0 comments on commit d81d25e

Please sign in to comment.