Skip to content

Commit

Permalink
[AX25/NETROM/ROSE]: Kill net/ip.h inclusion
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
ralfbaechle authored and David S. Miller committed Aug 29, 2005
1 parent 98a82fe commit c91326d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion net/ax25/ax25_ds_in.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion net/ax25/ax25_std_in.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion net/netrom/nr_in.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion net/rose/rose_in.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit c91326d

Please sign in to comment.