[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191115.121241.1718858679030793641.davem@davemloft.net>
Date: Fri, 15 Nov 2019 12:12:41 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: borisp@...lanox.com, aviadye@...lanox.com,
john.fastabend@...il.com, daniel@...earbox.net,
jakub.kicinski@...ronome.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net/tls: Fix unused function warning
From: YueHaibing <yuehaibing@...wei.com>
Date: Thu, 14 Nov 2019 15:39:46 +0800
> If PROC_FS is not set, gcc warning this:
>
> net/tls/tls_proc.c:23:12: warning:
> 'tls_statistics_seq_show' defined but not used [-Wunused-function]
>
> Use #ifdef to guard this.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied.
Powered by blists - more mailing lists