From: Cong Ding <ding...@gmail.com> Date: Fri, 7 Dec 2012 00:15:47 +0000
> On Fri, Dec 07, 2012 at 12:06:44AM +0000, Cong Ding wrote: >> the variables zero and unres_qlen_max are only used when CONFIG_SYSCTL is >> defined, otherwise it causes the following sparse warning when we turn on >> CONFIG_SYSCTL. > sorry for disturbing again, the sparse warning is > 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] > > it happens if we turn off CONFIG_SYSCTL. A patch for this has already in my tree for nearly a whole day.