diff options
author | Cong Wang <amwang@redhat.com> | 2012-12-06 03:04:04 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-06 03:50:37 +0100 |
commit | b93196dc5af7729ff7cc50d3d322ab1a364aa14f (patch) | |
tree | 5bcd0c82a03b17be2640bc2f8843992382c828eb /tools | |
parent | bridge: implement multicast fast leave (diff) | |
download | linux-b93196dc5af7729ff7cc50d3d322ab1a364aa14f.tar.xz 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 'tools')
0 files changed, 0 insertions, 0 deletions