Message ID | 1343899420.9299.118.camel@edumazet-glaptop |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Eric Dumazet <eric.dumazet@gmail.com> Date: Thu, 02 Aug 2012 11:23:40 +0200 > On Thu, 2012-08-02 at 01:45 -0700, David Miller wrote: >> From: Eric Dumazet <eric.dumazet@gmail.com> >> Date: Thu, 02 Aug 2012 09:49:13 +0200 >> >> > From: Eric Dumazet <edumazet@google.com> >> > >> > Remove some unused includes and sysctls after route cache removal. >> > >> > Signed-off-by: Eric Dumazet <edumazet@google.com> >> >> I'm largely against removing the (now pointless) sysctls. >> >> If the settings do nothing, so be it. >> >> But it shouldn't generate warnings and errors during bootup, >> which is what removing them is going to do. > > Are you referring to a stale key in your /etc/sysctl.conf ? > > I see no distro setting any of the route knob in their sysctl.conf file. I'm talking about anyone, and people do set these knobs. I've been told by people at some large search engine that they, in fact, have to :-) > [PATCH v2] ipv4: route.c cleanup > > Remove unused includes after IP cache removal > > Signed-off-by: Eric Dumazet <edumazet@google.com> I'll apply this one, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index c035251..67790ba 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -70,7 +70,6 @@ #include <linux/types.h> #include <linux/kernel.h> #include <linux/mm.h> -#include <linux/bootmem.h> #include <linux/string.h> #include <linux/socket.h> #include <linux/sockios.h> @@ -80,7 +79,6 @@ #include <linux/netdevice.h> #include <linux/proc_fs.h> #include <linux/init.h> -#include <linux/workqueue.h> #include <linux/skbuff.h> #include <linux/inetdevice.h> #include <linux/igmp.h> @@ -88,11 +86,9 @@ #include <linux/mroute.h> #include <linux/netfilter_ipv4.h> #include <linux/random.h> -#include <linux/jhash.h> #include <linux/rcupdate.h> #include <linux/times.h> #include <linux/slab.h> -#include <linux/prefetch.h> #include <net/dst.h> #include <net/net_namespace.h> #include <net/protocol.h>