diff options
author | Cong Wang <amwang@redhat.com> | 2012-12-06 10:04:04 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-05 21:50:37 -0500 |
commit | b93196dc5af7729ff7cc50d3d322ab1a364aa14f (patch) | |
tree | 5bcd0c82a03b17be2640bc2f8843992382c828eb /net/tipc | |
parent | c2d3babfafbb9f6629cfb47139758e59a5eb0d80 (diff) | |
download | linux-b93196dc5af7729ff7cc50d3d322ab1a364aa14f.tar.gz linux-b93196dc5af7729ff7cc50d3d322ab1a364aa14f.tar.bz2 linux-b93196dc5af7729ff7cc50d3d322ab1a364aa14f.zip |
net: fix some compiler warning in net/core/neighbour.c
net/core/neighbour.c:65:12: warning: 'zero' defined but not used [-Wunused-variable]
net/core/neighbour.c:66:12: warning: 'unres_qlen_max' defined but not used [-Wunused-variable]
These variables are only used when CONFIG_SYSCTL is defined,
so move them under #ifdef CONFIG_SYSCTL.
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Cong Wang <amwang@redhat.com>
Acked-by: Shan Wei <davidshan@tencent.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions