diff options
author | Cong Wang <amwang@redhat.com> | 2012-12-06 02:04:04 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-06 02:50:37 (GMT) |
commit | b93196dc5af7729ff7cc50d3d322ab1a364aa14f (patch) | |
tree | 5bcd0c82a03b17be2640bc2f8843992382c828eb /net/core/dev.c | |
parent | c2d3babfafbb9f6629cfb47139758e59a5eb0d80 (diff) | |
download | linux-fsl-qoriq-b93196dc5af7729ff7cc50d3d322ab1a364aa14f.tar.xz |
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/core/dev.c')
0 files changed, 0 insertions, 0 deletions