diff options
| author | Cong Wang <[email protected]> | 2012-12-06 02:04:04 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2012-12-06 02:50:37 +0000 |
| commit | b93196dc5af7729ff7cc50d3d322ab1a364aa14f (patch) | |
| tree | 5bcd0c82a03b17be2640bc2f8843992382c828eb /net/tipc/socket.c | |
| parent | bridge: implement multicast fast leave (diff) | |
| download | kernel-b93196dc5af7729ff7cc50d3d322ab1a364aa14f.tar.gz kernel-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 <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Acked-by: Shan Wei <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions
