[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CY4PR15MB1575D0F8F347B9A37A61846C9A5C0@CY4PR15MB1575.namprd15.prod.outlook.com>
Date: Tue, 17 Jul 2018 19:49:32 +0000
From: Jon Maloy <jon.maloy@...csson.com>
To: YueHaibing <yuehaibing@...wei.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"ying.xue@...driver.com" <ying.xue@...driver.com>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"tipc-discussion@...ts.sourceforge.net"
<tipc-discussion@...ts.sourceforge.net>
Subject: RE: [PATCH net-next] tipc: remove unused tipc_link_is_active
Acked-by: Jon Maloy <jon.maloy@...csson.com>
Thank you for fixing this.
> -----Original Message-----
> From: YueHaibing <yuehaibing@...wei.com>
> Sent: Tuesday, 17 July, 2018 09:59
> To: davem@...emloft.net; Jon Maloy <jon.maloy@...csson.com>; ying.xue@...driver.com
> Cc: linux-kernel@...r.kernel.org; netdev@...r.kernel.org; tipc-discussion@...ts.sourceforge.net; YueHaibing
> <yuehaibing@...wei.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@...wei.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
>
Powered by blists - more mailing lists