]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipv4: fix waring -Wunused-variable
authorGao feng <gaofeng@cn.fujitsu.com>
Tue, 19 Feb 2013 00:43:12 +0000 (00:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Feb 2013 18:18:13 +0000 (13:18 -0500)
commitc958367d6c72590bdfab3dace38e0bb0b8f402ac
treedd5a57d3ab10874d9bca9856e2c61622d7c23ec8
parent21b10566de0623aa4abcae6ac48829f8a33a77bf
net: ipv4: fix waring -Wunused-variable

the vars ip_rt_gc_timeout is used only when
CONFIG_SYSCTL is selected.

move these vars into CONFIG_SYSCTL.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c