commit | d6649d788e1a40b9bf2064bee4d7960fe85bd81e | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Thu Nov 14 15:39:46 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 15 12:12:28 2019 -0800 |
tree | d093b40473488d86bd9ef135ce252b4db572816a | |
parent | a98cdaf73e32d1538cc225464fcf61310749471e [diff] |
net/tls: Fix unused function warning 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@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>