summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorRalf Baechle2005-08-24 20:37:45 +0200
committerDavid S. Miller2005-08-30 01:08:15 +0200
commitc91326db013ddff478da8a8d66fb99ef4579f19a (patch)
tree07c6111590cef5ce52909c3b50ac64ae19eee3bb /net
parent[AX25/NETROM]: Cleanup direct calls into IP stack (diff)
downloadkernel-qcow2-linux-c91326db013ddff478da8a8d66fb99ef4579f19a.tar.gz
kernel-qcow2-linux-c91326db013ddff478da8a8d66fb99ef4579f19a.tar.xz
kernel-qcow2-linux-c91326db013ddff478da8a8d66fb99ef4579f19a.zip
[AX25/NETROM/ROSE]: Kill net/ip.h inclusion
All these are claiming to include <net/ip.h> to get ip_rcv() but in fact don't need the header at all, so away with the inclusion. Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ax25/ax25_ds_in.c1
-rw-r--r--net/ax25/ax25_std_in.c1
-rw-r--r--net/netrom/nr_in.c1
-rw-r--r--net/rose/rose_in.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/net/ax25/ax25_ds_in.c b/net/ax25/ax25_ds_in.c
index 5d0f8fb9d7aa..edcaa897027c 100644
--- a/net/ax25/ax25_ds_in.c
+++ b/net/ax25/ax25_ds_in.c
@@ -22,7 +22,6 @@
#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <net/sock.h>
-#include <net/ip.h> /* For ip_rcv */
#include <net/tcp_states.h>
#include <asm/uaccess.h>
#include <asm/system.h>
diff --git a/net/ax25/ax25_std_in.c b/net/ax25/ax25_std_in.c
index 83a33387c061..f6ed283e9de8 100644
--- a/net/ax25/ax25_std_in.c
+++ b/net/ax25/ax25_std_in.c
@@ -29,7 +29,6 @@
#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <net/sock.h>
-#include <net/ip.h> /* For ip_rcv */
#include <net/tcp_states.h>
#include <asm/uaccess.h>
#include <asm/system.h>
diff --git a/net/netrom/nr_in.c b/net/netrom/nr_in.c
index 2fcba9e24b2e..64b81a796907 100644
--- a/net/netrom/nr_in.c
+++ b/net/netrom/nr_in.c
@@ -23,7 +23,6 @@
#include <linux/skbuff.h>
#include <net/sock.h>
#include <net/tcp_states.h>
-#include <net/ip.h> /* For ip_rcv */
#include <asm/uaccess.h>
#include <asm/system.h>
#include <linux/fcntl.h>
diff --git a/net/rose/rose_in.c b/net/rose/rose_in.c
index a52417bd0a16..8348d33f1efe 100644
--- a/net/rose/rose_in.c
+++ b/net/rose/rose_in.c
@@ -26,7 +26,6 @@
#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <net/sock.h>
-#include <net/ip.h> /* For ip_rcv */
#include <net/tcp_states.h>
#include <asm/system.h>
#include <linux/fcntl.h>