Home
last modified time | relevance | path

Searched hist:"398 b841e4ad69a822f615442b5ea4ca767330a3b" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/include/net/netns/
H A Dcore.hdiff 398b841e4ad69a822f615442b5ea4ca767330a3b Thu Dec 14 07:51:59 CST 2017 Tonghao Zhang <xiangxia.m.yue@gmail.com> 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>