netdev
[Top] [All Lists]

[patch 6/7] X.25: Remove unused header files

To: davem@xxxxxxxxxxxxx
Subject: [patch 6/7] X.25: Remove unused header files
From: akpm@xxxxxxxx
Date: Wed, 10 Nov 2004 16:02:32 -0800
Cc: jgarzik@xxxxxxxxx, netdev@xxxxxxxxxxx, akpm@xxxxxxxx, ahendry@xxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
From: Andrew Hendry <ahendry@xxxxxxxxxxx>

Remove unused header files from X.25

Signed-off-by: Andrew Hendry <ahendry@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 25-akpm/net/x25/af_x25.c         |    9 ---------
 25-akpm/net/x25/sysctl_net_x25.c |    1 -
 25-akpm/net/x25/x25_dev.c        |   19 -------------------
 25-akpm/net/x25/x25_facilities.c |   14 --------------
 25-akpm/net/x25/x25_in.c         |   14 --------------
 25-akpm/net/x25/x25_link.c       |   13 -------------
 25-akpm/net/x25/x25_out.c        |   13 -------------
 25-akpm/net/x25/x25_subr.c       |   14 --------------
 25-akpm/net/x25/x25_timer.c      |   14 --------------
 9 files changed, 111 deletions(-)

diff -puN net/x25/af_x25.c~x25-remove-unused-header-files net/x25/af_x25.c
--- 25/net/x25/af_x25.c~x25-remove-unused-header-files  Wed Nov 10 16:00:37 2004
+++ 25-akpm/net/x25/af_x25.c    Wed Nov 10 16:00:37 2004
@@ -34,28 +34,19 @@
 #include <linux/config.h>
 #include <linux/module.h>
 #include <linux/errno.h>
-#include <linux/types.h>
-#include <linux/socket.h>
-#include <linux/in.h>
 #include <linux/kernel.h>
 #include <linux/sched.h>
 #include <linux/timer.h>
 #include <linux/string.h>
-#include <linux/sockios.h>
 #include <linux/net.h>
-#include <linux/stat.h>
-#include <linux/inet.h>
 #include <linux/netdevice.h>
 #include <linux/if_arp.h>
 #include <linux/skbuff.h>
 #include <net/sock.h>
 #include <net/tcp.h>
-#include <asm/system.h>
 #include <asm/uaccess.h>
 #include <linux/fcntl.h>
 #include <linux/termios.h>     /* For TIOCINQ/OUTQ */
-#include <linux/mm.h>
-#include <linux/interrupt.h>
 #include <linux/notifier.h>
 #include <linux/init.h>
 #include <net/x25.h>
diff -puN net/x25/sysctl_net_x25.c~x25-remove-unused-header-files 
net/x25/sysctl_net_x25.c
--- 25/net/x25/sysctl_net_x25.c~x25-remove-unused-header-files  Wed Nov 10 
16:00:37 2004
+++ 25-akpm/net/x25/sysctl_net_x25.c    Wed Nov 10 16:00:37 2004
@@ -5,7 +5,6 @@
  * Added /proc/sys/net/x25 directory entry (empty =) ). [MS]
  */
 
-#include <linux/mm.h>
 #include <linux/sysctl.h>
 #include <linux/skbuff.h>
 #include <linux/socket.h>
diff -puN net/x25/x25_dev.c~x25-remove-unused-header-files net/x25/x25_dev.c
--- 25/net/x25/x25_dev.c~x25-remove-unused-header-files Wed Nov 10 16:00:37 2004
+++ 25-akpm/net/x25/x25_dev.c   Wed Nov 10 16:00:37 2004
@@ -18,29 +18,10 @@
  */
 
 #include <linux/config.h>
-#include <linux/errno.h>
-#include <linux/types.h>
-#include <linux/socket.h>
-#include <linux/in.h>
 #include <linux/kernel.h>
-#include <linux/sched.h>
-#include <linux/timer.h>
-#include <linux/string.h>
-#include <linux/sockios.h>
-#include <linux/net.h>
-#include <linux/stat.h>
-#include <linux/inet.h>
 #include <linux/netdevice.h>
 #include <linux/skbuff.h>
 #include <net/sock.h>
-#include <asm/system.h>
-#include <asm/uaccess.h>
-#include <linux/fcntl.h>
-#include <linux/termios.h>     /* For TIOCINQ/OUTQ */
-#include <linux/mm.h>
-#include <linux/interrupt.h>
-#include <linux/notifier.h>
-#include <linux/proc_fs.h>
 #include <linux/if_arp.h>
 #include <net/x25.h>
 
diff -puN net/x25/x25_facilities.c~x25-remove-unused-header-files 
net/x25/x25_facilities.c
--- 25/net/x25/x25_facilities.c~x25-remove-unused-header-files  Wed Nov 10 
16:00:37 2004
+++ 25-akpm/net/x25/x25_facilities.c    Wed Nov 10 16:00:37 2004
@@ -19,24 +19,10 @@
  *                                       negotiation.
  */
 
-#include <linux/errno.h>
-#include <linux/types.h>
-#include <linux/socket.h>
-#include <linux/in.h>
 #include <linux/kernel.h>
-#include <linux/sched.h>
-#include <linux/timer.h>
 #include <linux/string.h>
-#include <linux/sockios.h>
-#include <linux/net.h>
-#include <linux/inet.h>
-#include <linux/netdevice.h>
 #include <linux/skbuff.h>
 #include <net/sock.h>
-#include <asm/system.h>
-#include <linux/fcntl.h>
-#include <linux/mm.h>
-#include <linux/interrupt.h>
 #include <net/x25.h>
 
 /*
diff -puN net/x25/x25_in.c~x25-remove-unused-header-files net/x25/x25_in.c
--- 25/net/x25/x25_in.c~x25-remove-unused-header-files  Wed Nov 10 16:00:37 2004
+++ 25-akpm/net/x25/x25_in.c    Wed Nov 10 16:00:37 2004
@@ -24,25 +24,11 @@
  */
 
 #include <linux/errno.h>
-#include <linux/types.h>
-#include <linux/socket.h>
-#include <linux/in.h>
 #include <linux/kernel.h>
-#include <linux/sched.h>
-#include <linux/timer.h>
 #include <linux/string.h>
-#include <linux/sockios.h>
-#include <linux/net.h>
-#include <linux/inet.h>
-#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>
-#include <linux/mm.h>
-#include <linux/interrupt.h>
 #include <net/x25.h>
 
 static int x25_queue_rx_frame(struct sock *sk, struct sk_buff *skb, int more)
diff -puN net/x25/x25_link.c~x25-remove-unused-header-files net/x25/x25_link.c
--- 25/net/x25/x25_link.c~x25-remove-unused-header-files        Wed Nov 10 
16:00:37 2004
+++ 25-akpm/net/x25/x25_link.c  Wed Nov 10 16:00:37 2004
@@ -21,25 +21,12 @@
  *     2000-09-04      Henner Eisen      dev_hold() / dev_put() for x25_neigh.
  */
 
-#include <linux/errno.h>
-#include <linux/types.h>
-#include <linux/socket.h>
-#include <linux/in.h>
 #include <linux/kernel.h>
 #include <linux/jiffies.h>
 #include <linux/timer.h>
-#include <linux/string.h>
-#include <linux/sockios.h>
-#include <linux/net.h>
-#include <linux/inet.h>
 #include <linux/netdevice.h>
 #include <linux/skbuff.h>
-#include <net/sock.h>
-#include <asm/system.h>
 #include <asm/uaccess.h>
-#include <linux/fcntl.h>
-#include <linux/mm.h>
-#include <linux/interrupt.h>
 #include <linux/init.h>
 #include <net/x25.h>
 
diff -puN net/x25/x25_out.c~x25-remove-unused-header-files net/x25/x25_out.c
--- 25/net/x25/x25_out.c~x25-remove-unused-header-files Wed Nov 10 16:00:37 2004
+++ 25-akpm/net/x25/x25_out.c   Wed Nov 10 16:00:37 2004
@@ -22,24 +22,11 @@
  *                                     needed cleaned seq-number fields.
  */
 
-#include <linux/errno.h>
-#include <linux/types.h>
 #include <linux/socket.h>
-#include <linux/in.h>
 #include <linux/kernel.h>
-#include <linux/sched.h>
-#include <linux/timer.h>
 #include <linux/string.h>
-#include <linux/sockios.h>
-#include <linux/net.h>
-#include <linux/inet.h>
-#include <linux/netdevice.h>
 #include <linux/skbuff.h>
 #include <net/sock.h>
-#include <asm/system.h>
-#include <linux/fcntl.h>
-#include <linux/mm.h>
-#include <linux/interrupt.h>
 #include <net/x25.h>
 
 static int x25_pacsize_to_bytes(unsigned int pacsize)
diff -puN net/x25/x25_subr.c~x25-remove-unused-header-files net/x25/x25_subr.c
--- 25/net/x25/x25_subr.c~x25-remove-unused-header-files        Wed Nov 10 
16:00:37 2004
+++ 25-akpm/net/x25/x25_subr.c  Wed Nov 10 16:00:37 2004
@@ -21,25 +21,11 @@
  *     jun/24/01       Arnaldo C. Melo   use skb_queue_purge, cleanups
  */
 
-#include <linux/errno.h>
-#include <linux/types.h>
-#include <linux/socket.h>
-#include <linux/in.h>
 #include <linux/kernel.h>
-#include <linux/sched.h>
-#include <linux/timer.h>
 #include <linux/string.h>
-#include <linux/sockios.h>
-#include <linux/net.h>
-#include <linux/inet.h>
-#include <linux/netdevice.h>
 #include <linux/skbuff.h>
 #include <net/sock.h>
 #include <net/tcp.h>
-#include <asm/system.h>
-#include <linux/fcntl.h>
-#include <linux/mm.h>
-#include <linux/interrupt.h>
 #include <net/x25.h>
 
 /*
diff -puN net/x25/x25_timer.c~x25-remove-unused-header-files net/x25/x25_timer.c
--- 25/net/x25/x25_timer.c~x25-remove-unused-header-files       Wed Nov 10 
16:00:37 2004
+++ 25-akpm/net/x25/x25_timer.c Wed Nov 10 16:00:37 2004
@@ -20,24 +20,10 @@
  */
 
 #include <linux/errno.h>
-#include <linux/types.h>
-#include <linux/socket.h>
-#include <linux/in.h>
-#include <linux/kernel.h>
 #include <linux/jiffies.h>
 #include <linux/timer.h>
-#include <linux/string.h>
-#include <linux/sockios.h>
-#include <linux/net.h>
-#include <linux/inet.h>
-#include <linux/netdevice.h>
-#include <linux/skbuff.h>
 #include <net/sock.h>
 #include <net/tcp.h>
-#include <asm/system.h>
-#include <linux/fcntl.h>
-#include <linux/mm.h>
-#include <linux/interrupt.h>
 #include <net/x25.h>
 
 static void x25_heartbeat_expiry(unsigned long);
_

<Prev in Thread] Current Thread [Next in Thread>
  • [patch 6/7] X.25: Remove unused header files, akpm <=