diff options
author | Cong Wang <amwang@redhat.com> | 2012-12-05 21:04:04 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-05 21:50:37 -0500 |
commit | b93196dc5af7729ff7cc50d3d322ab1a364aa14f (patch) | |
tree | 5bcd0c82a03b17be2640bc2f8843992382c828eb /tools | |
parent | c2d3babfafbb9f6629cfb47139758e59a5eb0d80 (diff) |
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 'tools')
0 files changed, 0 insertions, 0 deletions