Re: [PATCH] net: core: fix unused variable sparse warning

2012-12-07 Thread Shan Wei
Cong Ding said, at 2012/12/7 8:15: > On Fri, Dec 07, 2012 at 12:06:44AM +, 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,

Re: [PATCH] net: core: fix unused variable sparse warning

2012-12-07 Thread Shan Wei
Cong Ding said, at 2012/12/7 8:15: On Fri, Dec 07, 2012 at 12:06:44AM +, 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

Re: [PATCH] net: core: fix unused variable sparse warning

2012-12-06 Thread David Miller
From: Cong Ding Date: Fri, 7 Dec 2012 00:15:47 + > On Fri, Dec 07, 2012 at 12:06:44AM +, 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

Re: [PATCH] net: core: fix unused variable sparse warning

2012-12-06 Thread Cong Wang
On Fri, 07 Dec 2012 at 00:06 GMT, 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. > commit b93196dc5af7729ff7cc50d3d322ab1a364aa14f Author: Cong Wang Date:

Re: [PATCH] net: core: fix unused variable sparse warning

2012-12-06 Thread Cong Ding
On Fri, Dec 07, 2012 at 12:06:44AM +, 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

[PATCH] net: core: fix unused variable sparse warning

2012-12-06 Thread Cong Ding
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. Signed-off-by: Cong Ding --- net/core/neighbour.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[PATCH] net: core: fix unused variable sparse warning

2012-12-06 Thread Cong Ding
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. Signed-off-by: Cong Ding ding...@gmail.com --- net/core/neighbour.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff

Re: [PATCH] net: core: fix unused variable sparse warning

2012-12-06 Thread Cong Ding
On Fri, Dec 07, 2012 at 12:06:44AM +, 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

Re: [PATCH] net: core: fix unused variable sparse warning

2012-12-06 Thread Cong Wang
On Fri, 07 Dec 2012 at 00:06 GMT, Cong Ding ding...@gmail.com 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. commit b93196dc5af7729ff7cc50d3d322ab1a364aa14f Author: Cong

Re: [PATCH] net: core: fix unused variable sparse warning

2012-12-06 Thread David Miller
From: Cong Ding ding...@gmail.com Date: Fri, 7 Dec 2012 00:15:47 + On Fri, Dec 07, 2012 at 12:06:44AM +, 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.