* [PATCH 2/3] Cleanup direct calls into IP stack
@ 2005-08-24 17:16 Ralf Baechle DL5RB
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle DL5RB @ 2005-08-24 17:16 UTC (permalink / raw)
To: David S. Miller; +Cc: netdev, linux-hams
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>
net/ax25/ax25_ds_in.c | 1 -
net/ax25/ax25_std_in.c | 1 -
net/netrom/nr_in.c | 1 -
net/rose/rose_in.c | 1 -
4 files changed, 4 deletions(-)
Index: linux-cvs/net/ax25/ax25_ds_in.c
===================================================================
--- linux-cvs.orig/net/ax25/ax25_ds_in.c
+++ linux-cvs/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.h>
#include <asm/uaccess.h>
#include <asm/system.h>
Index: linux-cvs/net/ax25/ax25_std_in.c
===================================================================
--- linux-cvs.orig/net/ax25/ax25_std_in.c
+++ linux-cvs/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.h>
#include <asm/uaccess.h>
#include <asm/system.h>
Index: linux-cvs/net/netrom/nr_in.c
===================================================================
--- linux-cvs.orig/net/netrom/nr_in.c
+++ linux-cvs/net/netrom/nr_in.c
@@ -23,7 +23,6 @@
#include <linux/skbuff.h>
#include <net/sock.h>
#include <net/tcp.h>
-#include <net/ip.h> /* For ip_rcv */
#include <asm/uaccess.h>
#include <asm/system.h>
#include <linux/fcntl.h>
Index: linux-cvs/net/rose/rose_in.c
===================================================================
--- linux-cvs.orig/net/rose/rose_in.c
+++ linux-cvs/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.h>
#include <asm/system.h>
#include <linux/fcntl.h>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 2/3] Cleanup direct calls into IP stack
@ 2005-08-24 17:16 Ralf Baechle DL5RB
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle DL5RB @ 2005-08-24 17:16 UTC (permalink / raw)
To: David S. Miller; +Cc: netdev, linux-hams
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>
net/ax25/ax25_ds_in.c | 1 -
net/ax25/ax25_std_in.c | 1 -
net/netrom/nr_in.c | 1 -
net/rose/rose_in.c | 1 -
4 files changed, 4 deletions(-)
Index: linux-cvs/net/ax25/ax25_ds_in.c
===================================================================
--- linux-cvs.orig/net/ax25/ax25_ds_in.c
+++ linux-cvs/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.h>
#include <asm/uaccess.h>
#include <asm/system.h>
Index: linux-cvs/net/ax25/ax25_std_in.c
===================================================================
--- linux-cvs.orig/net/ax25/ax25_std_in.c
+++ linux-cvs/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.h>
#include <asm/uaccess.h>
#include <asm/system.h>
Index: linux-cvs/net/netrom/nr_in.c
===================================================================
--- linux-cvs.orig/net/netrom/nr_in.c
+++ linux-cvs/net/netrom/nr_in.c
@@ -23,7 +23,6 @@
#include <linux/skbuff.h>
#include <net/sock.h>
#include <net/tcp.h>
-#include <net/ip.h> /* For ip_rcv */
#include <asm/uaccess.h>
#include <asm/system.h>
#include <linux/fcntl.h>
Index: linux-cvs/net/rose/rose_in.c
===================================================================
--- linux-cvs.orig/net/rose/rose_in.c
+++ linux-cvs/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.h>
#include <asm/system.h>
#include <linux/fcntl.h>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-24 17:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-24 17:16 [PATCH 2/3] Cleanup direct calls into IP stack Ralf Baechle DL5RB
-- strict thread matches above, loose matches on Subject: below --
2005-08-24 17:16 Ralf Baechle DL5RB
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.