summaryrefslogtreecommitdiffstats
path: root/net/ax25
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-08-24 20:37:45 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-30 01:08:15 +0200
commitc91326db013ddff478da8a8d66fb99ef4579f19a (patch)
tree07c6111590cef5ce52909c3b50ac64ae19eee3bb /net/ax25
parent[AX25/NETROM]: Cleanup direct calls into IP stack (diff)
downloadlinux-c91326db013ddff478da8a8d66fb99ef4579f19a.tar.xz
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/ax25')
-rw-r--r--net/ax25/ax25_ds_in.c1
-rw-r--r--net/ax25/ax25_std_in.c1
2 files changed, 0 insertions, 2 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>