summaryrefslogtreecommitdiffstats
path: root/net/ipv6/protocol.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2009-09-09 03:43:50 -0700
committerDavid S. Miller <davem@davemloft.net>2009-09-09 03:43:50 -0700
commitfa1a9c681377c57e233038e50479e7d7a5cc3108 (patch)
tree719cfaa29913c352e55efcfc35a7de84c839a3f6 /net/ipv6/protocol.c
parent5d5d9c97ff807b643b6c2284dea7fe04ecc74355 (diff)
downloadop-kernel-dev-fa1a9c681377c57e233038e50479e7d7a5cc3108.zip
op-kernel-dev-fa1a9c681377c57e233038e50479e7d7a5cc3108.tar.gz
headers: net/ipv[46]/protocol.c header trim
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/protocol.c')
-rw-r--r--net/ipv6/protocol.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/net/ipv6/protocol.c b/net/ipv6/protocol.c
index 9ab7891..568864f 100644
--- a/net/ipv6/protocol.c
+++ b/net/ipv6/protocol.c
@@ -20,20 +20,9 @@
* - Removed unused variable 'inet6_protocol_base'
* - Modified inet6_del_protocol() to correctly maintain copy bit.
*/
-
-#include <linux/errno.h>
-#include <linux/types.h>
-#include <linux/socket.h>
-#include <linux/sockios.h>
-#include <linux/net.h>
-#include <linux/in6.h>
+#include <linux/module.h>
#include <linux/netdevice.h>
-#include <linux/if_arp.h>
-
-#include <net/sock.h>
-#include <net/snmp.h>
-
-#include <net/ipv6.h>
+#include <linux/spinlock.h>
#include <net/protocol.h>
struct inet6_protocol *inet6_protos[MAX_INET_PROTOS];
OpenPOWER on IntegriCloud