2018-07-17 14:15:48

by Yue Haibing

[permalink] [raw]
Subject: [PATCH net-next] 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 <[email protected]>
---
net/tipc/group.c | 5 -----
1 file changed, 5 deletions(-)

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




2018-07-17 19:50:55

by Jon Maloy

[permalink] [raw]
Subject: RE: [PATCH net-next] tipc: remove unused tipc_group_size

Acked-by: Jon Maloy <[email protected]>

///jon

> -----Original Message-----
> From: YueHaibing <[email protected]>
> Sent: Tuesday, 17 July, 2018 10:11
> To: [email protected]; Jon Maloy <[email protected]>; [email protected]
> Cc: [email protected]; [email protected]; [email protected]; YueHaibing
> <[email protected]>
> Subject: [PATCH net-next] 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 <[email protected]>
> ---
> net/tipc/group.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/net/tipc/group.c b/net/tipc/group.c
> index cbe39e8..8f43e7d 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)
> --
> 2.7.0
>


2018-07-18 20:50:32

by David Miller

[permalink] [raw]
Subject: Re: [PATCH net-next] tipc: remove unused tipc_group_size

From: YueHaibing <[email protected]>
Date: Tue, 17 Jul 2018 22:11:23 +0800

> After commit eb929a91b213 ("tipc: improve poll() for group member socket"),
> it is no longer used.
>
> Signed-off-by: YueHaibing <[email protected]>

Applied.