diff --git a/net/tipc/group.c b/net/tipc/group.c
index cbe39e8db39c49180dcbcbf689f5d2e29b03e406..8f43e7d6046be7059f2d836390f40db1eb26d6e7 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)