diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-11-14 15:39:46 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-15 12:12:28 -0800 |
commit | d6649d788e1a40b9bf2064bee4d7960fe85bd81e (patch) | |
tree | d093b40473488d86bd9ef135ce252b4db572816a /tools/perf/scripts/python/export-to-postgresql.py | |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions