diff options
author | 2017-12-14 05:51:59 -0800 | |
---|---|---|
committer | 2017-12-19 09:58:14 -0500 | |
commit | 398b841e4ad69a822f615442b5ea4ca767330a3b (patch) | |
tree | 011226fe28681a501706a9c8acf56e16602cd354 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | sock: Move the socket inuse to namespace. (diff) | |
download | linux-dev-398b841e4ad69a822f615442b5ea4ca767330a3b.tar.xz linux-dev-398b841e4ad69a822f615442b5ea4ca767330a3b.zip |
sock: Hide unused variable when !CONFIG_PROC_FS.
When CONFIG_PROC_FS is disabled, we will not use the prot_inuse
counter. This adds an #ifdef to hide the variable definition in
that case. This is not a bugfix. But we can save bytes when there
are many network namespace.
Cc: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Martin Zhang <zhangjunweimartin@didichuxing.com>
Signed-off-by: Tonghao Zhang <zhangtonghao@didichuxing.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions