[IPV4]: Cleanup the sysctl_net_ipv4.c file
authorPavel Emelyanov <xemul@openvz.org>
Wed, 5 Dec 2007 09:38:23 +0000 (01:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:56:27 +0000 (14:56 -0800)
commit9ba639797606acbcd97be886f41fbce163914e7b
tree49320d143d43a79f57f0ec9e994df338ee0a4db6
parent33eb9cfc700ae9ce621d47d6ca6d6b4ad7cd97f3
[IPV4]: Cleanup the sysctl_net_ipv4.c file

This includes several cleanups:

 * tune Makefile to compile out this file when SYSCTL=n. Now
   it looks like net/core/sysctl_net_core.c one;
 * move the ipv4_config to af_inet.c to exist all the time;
 * remove additional sysctl_ip_nonlocal_bind declaration
   (it is already declared in net/ip.h);
 * remove no nonger needed ifdefs from this file.

This is a preparation for using ctl paths for net/ipv4/
sysctl table.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/Makefile
net/ipv4/af_inet.c
net/ipv4/sysctl_net_ipv4.c