From: Cong Wang Date: Thu, 6 Dec 2012 02:04:04 +0000 (+0800) Subject: net: fix some compiler warning in net/core/neighbour.c X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b93196dc5af7729ff7cc50d3d322ab1a364aa14f;p=pandora-kernel.git 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 Signed-off-by: Cong Wang Acked-by: Shan Wei Signed-off-by: David S. Miller --- Reading git-diff-tree failed