Patchwork [net-next-2.6] ipv4: cleanup: remove unnecessary include.

login
register
mail settings
Submitter Rami Rosen
Date May 18, 2009, 11:47 a.m.
Message ID <eb3ff54b0905180447y7f3d1f0aof0203be26dd3bcdb@mail.gmail.com>
Download mbox | patch
Permalink /patch/27356/
State Accepted
Delegated to: David Miller
Headers show

Comments

Rami Rosen - May 18, 2009, 11:47 a.m.
Hi,

There is no need for net/icmp.h header in net/ipv4/fib_frontend.c.
This patch removes the #include net/icmp.h from it.


Regards,
Rami Rosen


Signed-off-by: Rami Rosen <ramirose@gmail.com>
David Miller - May 18, 2009, 10:17 p.m.
From: Rami Rosen <ramirose@gmail.com>
Date: Mon, 18 May 2009 14:47:52 +0300

> There is no need for net/icmp.h header in net/ipv4/fib_frontend.c.
> This patch removes the #include net/icmp.h from it.
> 
> Signed-off-by: Rami Rosen <ramirose@gmail.com>

Applied.
--
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

Patch

diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c
index cafcc49..e2f9505 100644
--- a/net/ipv4/fib_frontend.c
+++ b/net/ipv4/fib_frontend.c
@@ -40,7 +40,6 @@ 
 #include <net/route.h>
 #include <net/tcp.h>
 #include <net/sock.h>
-#include <net/icmp.h>
 #include <net/arp.h>
 #include <net/ip_fib.h>
 #include <net/rtnetlink.h>