tipc: remove unused tipc_group_size
authorYueHaibing <yuehaibing@huawei.com>
Tue, 17 Jul 2018 14:11:23 +0000 (22:11 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2018 20:49:08 +0000 (13:49 -0700)
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>
net/tipc/group.c

index cbe39e8db39c49180dcbcbf689f5d2e29b03e406..8f43e7d6046be7059f2d836390f40db1eb26d6e7 100644 (file)
@@ -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)