* [PATCH net-next] tipc: remove unused tipc_link_is_active
@ 2018-07-17 13:58 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 13:58 UTC (permalink / raw)
To: davem, jon.maloy, ying.xue
Cc: linux-kernel, netdev, tipc-discussion, YueHaibing
tipc_link_is_active is no longer used and can be removed.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
net/tipc/link.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/net/tipc/link.c b/net/tipc/link.c
index df763be..6987ffc 100644
--- a/net/tipc/link.c
+++ b/net/tipc/link.c
@@ -297,11 +297,6 @@ static bool link_is_bc_rcvlink(struct tipc_link *l)
return ((l->bc_rcvlink == l) && !link_is_bc_sndlink(l));
}
-int tipc_link_is_active(struct tipc_link *l)
-{
- return l->active;
-}
-
void tipc_link_set_active(struct tipc_link *l, bool active)
{
l->active = active;
--
2.7.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* RE: [PATCH net-next] tipc: remove unused tipc_link_is_active
2018-07-17 13:58 [PATCH net-next] tipc: remove unused tipc_link_is_active 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>
Thank you for fixing this.
> -----Original Message-----
> From: YueHaibing <yuehaibing@huawei.com>
> Sent: Tuesday, 17 July, 2018 09:59
> 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_link_is_active
>
> tipc_link_is_active is no longer used and can be removed.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> net/tipc/link.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/net/tipc/link.c b/net/tipc/link.c
> index df763be..6987ffc 100644
> --- a/net/tipc/link.c
> +++ b/net/tipc/link.c
> @@ -297,11 +297,6 @@ static bool link_is_bc_rcvlink(struct tipc_link *l)
> return ((l->bc_rcvlink == l) && !link_is_bc_sndlink(l));
> }
>
> -int tipc_link_is_active(struct tipc_link *l)
> -{
> - return l->active;
> -}
> -
> void tipc_link_set_active(struct tipc_link *l, bool active)
> {
> l->active = active;
> --
> 2.7.0
>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH net-next] tipc: remove unused tipc_link_is_active
2018-07-17 13:58 [PATCH net-next] tipc: remove unused tipc_link_is_active 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 21:58:46 +0800
> tipc_link_is_active is no longer used and can be removed.
>
> 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 13:58 [PATCH net-next] tipc: remove unused tipc_link_is_active 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