* [PATCH net-next] tipc: remove unused tipc_group_size
@ 2018-07-17 14:11 YueHaibing
2018-07-17 19:49 ` Jon Maloy
2018-07-18 20:49 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: YueHaibing @ 2018-07-17 14:11 UTC (permalink / raw)
To: davem, jon.maloy, ying.xue
Cc: linux-kernel, netdev, tipc-discussion, YueHaibing
After commit eb929a91b213 ("tipc: improve poll() for group member socket"),
it is no longer used.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [PATCH net-next] tipc: remove unused tipc_group_size
2018-07-17 14:11 [PATCH net-next] tipc: remove unused tipc_group_size YueHaibing
@ 2018-07-17 19:49 ` Jon Maloy
2018-07-18 20:49 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Jon Maloy @ 2018-07-17 19:49 UTC (permalink / raw)
To: YueHaibing, davem@davemloft.net, ying.xue@windriver.com
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
tipc-discussion@lists.sourceforge.net
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
///jon
> -----Original Message-----
> From: YueHaibing <yuehaibing@huawei.com>
> Sent: Tuesday, 17 July, 2018 10:11
> To: davem@davemloft.net; Jon Maloy <jon.maloy@ericsson.com>; ying.xue@windriver.com
> Cc: linux-kernel@vger.kernel.org; netdev@vger.kernel.org; tipc-discussion@lists.sourceforge.net; YueHaibing
> <yuehaibing@huawei.com>
> 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 <yuehaibing@huawei.com>
> ---
> 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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] tipc: remove unused tipc_group_size
2018-07-17 14:11 [PATCH net-next] tipc: remove unused tipc_group_size YueHaibing
2018-07-17 19:49 ` Jon Maloy
@ 2018-07-18 20:49 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2018-07-18 20:49 UTC (permalink / raw)
To: yuehaibing; +Cc: jon.maloy, ying.xue, linux-kernel, netdev, tipc-discussion
From: YueHaibing <yuehaibing@huawei.com>
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 <yuehaibing@huawei.com>
Applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-07-18 20:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-17 14:11 [PATCH net-next] tipc: remove unused tipc_group_size YueHaibing
2018-07-17 19:49 ` Jon Maloy
2018-07-18 20:49 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).