summaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-07-17 16:11:23 +0200
committerDavid S. Miller <davem@davemloft.net>2018-07-18 22:49:08 +0200
commitd81d25e66a0f218e7d6b6d81b2d57dacf8924195 (patch)
treeb691fa9cac6377aeedb37a6a9c11f57175863e62 /net/tipc
parenttipc: remove unused tipc_link_is_active (diff)
downloadlinux-d81d25e66a0f218e7d6b6d81b2d57dacf8924195.tar.xz
linux-d81d25e66a0f218e7d6b6d81b2d57dacf8924195.zip
tipc: remove unused tipc_group_size
After commit eb929a91b213 ("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>
Diffstat (limited to 'net/tipc')
-rw-r--r--net/tipc/group.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/tipc/group.c b/net/tipc/group.c
index cbe39e8db39c..8f43e7d6046b 100644
--- a/net/tipc/group.c
+++ b/net/tipc/group.c
@@ -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)