lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1404877445-2757-2-git-send-email-varkab@cdac.in>
Date:	Wed,  9 Jul 2014 09:14:04 +0530
From:	Varka Bhadram <varkabhadram@...il.com>
To:	netdev@...r.kernel.org
Cc:	alex.aring@...il.com, linux-zigbee-devel@...ts.sourceforge.net,
	davem@...emloft.net, Varka Bhadram <varkab@...c.in>
Subject: [PATCH net-next 1/2] ieee802154: removed unwanted header files


Signed-off-by: Varka Bhadram <varkab@...c.in>
---
 net/ieee802154/6lowpan_iphc.c  |    4 ----
 net/ieee802154/6lowpan_rtnl.c  |    7 -------
 net/ieee802154/af_ieee802154.c |   11 -----------
 net/ieee802154/dgram.c         |    6 ------
 net/ieee802154/header_ops.c    |    1 -
 net/ieee802154/netlink.c       |    2 --
 net/ieee802154/nl-mac.c        |    8 --------
 net/ieee802154/nl-phy.c        |    4 ----
 net/ieee802154/nl_policy.c     |    1 -
 net/ieee802154/raw.c           |    5 -----
 net/ieee802154/reassembly.c    |   11 -----------
 net/ieee802154/wpan-class.c    |    4 ----
 12 files changed, 64 deletions(-)

diff --git a/net/ieee802154/6lowpan_iphc.c b/net/ieee802154/6lowpan_iphc.c
index 511ddee..d85caa2 100644
--- a/net/ieee802154/6lowpan_iphc.c
+++ b/net/ieee802154/6lowpan_iphc.c
@@ -49,12 +49,8 @@
  * SUCH DAMAGE.
  */
 
-#include <linux/bitops.h>
-#include <linux/if_arp.h>
 #include <linux/module.h>
-#include <linux/netdevice.h>
 #include <net/6lowpan.h>
-#include <net/ipv6.h>
 #include <net/af_ieee802154.h>
 
 /* Uncompress address function for source and
diff --git a/net/ieee802154/6lowpan_rtnl.c b/net/ieee802154/6lowpan_rtnl.c
index 016b77e..54cf80b 100644
--- a/net/ieee802154/6lowpan_rtnl.c
+++ b/net/ieee802154/6lowpan_rtnl.c
@@ -44,16 +44,9 @@
  * SUCH DAMAGE.
  */
 
-#include <linux/bitops.h>
-#include <linux/if_arp.h>
 #include <linux/module.h>
-#include <linux/moduleparam.h>
-#include <linux/netdevice.h>
-#include <net/af_ieee802154.h>
-#include <net/ieee802154.h>
 #include <net/ieee802154_netdev.h>
 #include <net/6lowpan.h>
-#include <net/ipv6.h>
 
 #include "reassembly.h"
 
diff --git a/net/ieee802154/af_ieee802154.c b/net/ieee802154/af_ieee802154.c
index 29e0de6..d19fd25 100644
--- a/net/ieee802154/af_ieee802154.c
+++ b/net/ieee802154/af_ieee802154.c
@@ -21,21 +21,10 @@
  * Maxim Gorbachyov <maxim.gorbachev@...mens.com>
  */
 
-#include <linux/net.h>
-#include <linux/capability.h>
 #include <linux/module.h>
 #include <linux/if_arp.h>
-#include <linux/if.h>
-#include <linux/termios.h>	/* For TIOCOUTQ/INQ */
-#include <linux/list.h>
-#include <linux/slab.h>
-#include <net/datalink.h>
-#include <net/psnap.h>
-#include <net/sock.h>
-#include <net/tcp_states.h>
 #include <net/route.h>
 
-#include <net/af_ieee802154.h>
 #include <net/ieee802154_netdev.h>
 
 #include "af802154.h"
diff --git a/net/ieee802154/dgram.c b/net/ieee802154/dgram.c
index ef2ad8a..7d929cd 100644
--- a/net/ieee802154/dgram.c
+++ b/net/ieee802154/dgram.c
@@ -21,15 +21,9 @@
  * Dmitry Eremin-Solenikov <dbaryshkov@...il.com>
  */
 
-#include <linux/capability.h>
-#include <linux/net.h>
 #include <linux/module.h>
 #include <linux/if_arp.h>
-#include <linux/list.h>
-#include <linux/slab.h>
 #include <net/sock.h>
-#include <net/af_ieee802154.h>
-#include <net/ieee802154.h>
 #include <net/ieee802154_netdev.h>
 
 #include <asm/ioctls.h>
diff --git a/net/ieee802154/header_ops.c b/net/ieee802154/header_ops.c
index c09294e..959f56a 100644
--- a/net/ieee802154/header_ops.c
+++ b/net/ieee802154/header_ops.c
@@ -15,7 +15,6 @@
  */
 
 #include <net/mac802154.h>
-#include <net/ieee802154.h>
 #include <net/ieee802154_netdev.h>
 
 static int
diff --git a/net/ieee802154/netlink.c b/net/ieee802154/netlink.c
index 9222966..90deb70 100644
--- a/net/ieee802154/netlink.c
+++ b/net/ieee802154/netlink.c
@@ -22,8 +22,6 @@
  * Maxim Osipov <maxim.osipov@...mens.com>
  */
 
-#include <linux/kernel.h>
-#include <linux/gfp.h>
 #include <net/genetlink.h>
 #include <linux/nl802154.h>
 
diff --git a/net/ieee802154/nl-mac.c b/net/ieee802154/nl-mac.c
index c6bfe22..17c53397 100644
--- a/net/ieee802154/nl-mac.c
+++ b/net/ieee802154/nl-mac.c
@@ -22,18 +22,10 @@
  * Maxim Osipov <maxim.osipov@...mens.com>
  */
 
-#include <linux/gfp.h>
-#include <linux/kernel.h>
 #include <linux/if_arp.h>
-#include <linux/netdevice.h>
-#include <net/netlink.h>
 #include <net/genetlink.h>
 #include <net/sock.h>
 #include <linux/nl802154.h>
-#include <linux/export.h>
-#include <net/af_ieee802154.h>
-#include <net/nl802154.h>
-#include <net/ieee802154.h>
 #include <net/ieee802154_netdev.h>
 #include <net/wpan-phy.h>
 
diff --git a/net/ieee802154/nl-phy.c b/net/ieee802154/nl-phy.c
index 972baf8..a685f14 100644
--- a/net/ieee802154/nl-phy.c
+++ b/net/ieee802154/nl-phy.c
@@ -22,13 +22,9 @@
  * Maxim Osipov <maxim.osipov@...mens.com>
  */
 
-#include <linux/kernel.h>
-#include <linux/slab.h>
 #include <linux/if_arp.h>
-#include <net/netlink.h>
 #include <net/genetlink.h>
 #include <net/wpan-phy.h>
-#include <net/af_ieee802154.h>
 #include <net/ieee802154_netdev.h>
 #include <net/rtnetlink.h> /* for rtnl_{un,}lock */
 #include <linux/nl802154.h>
diff --git a/net/ieee802154/nl_policy.c b/net/ieee802154/nl_policy.c
index 3a703ab8..71fb7b0 100644
--- a/net/ieee802154/nl_policy.c
+++ b/net/ieee802154/nl_policy.c
@@ -18,7 +18,6 @@
  *
  */
 
-#include <linux/kernel.h>
 #include <net/netlink.h>
 #include <linux/nl802154.h>
 
diff --git a/net/ieee802154/raw.c b/net/ieee802154/raw.c
index 9d1f648..a5a448d 100644
--- a/net/ieee802154/raw.c
+++ b/net/ieee802154/raw.c
@@ -21,13 +21,8 @@
  * Dmitry Eremin-Solenikov <dbaryshkov@...il.com>
  */
 
-#include <linux/net.h>
-#include <linux/module.h>
 #include <linux/if_arp.h>
-#include <linux/list.h>
-#include <linux/slab.h>
 #include <net/sock.h>
-#include <net/af_ieee802154.h>
 #include <net/ieee802154_netdev.h>
 
 #include "af802154.h"
diff --git a/net/ieee802154/reassembly.c b/net/ieee802154/reassembly.c
index b85bd3f..feff865 100644
--- a/net/ieee802154/reassembly.c
+++ b/net/ieee802154/reassembly.c
@@ -14,19 +14,8 @@
 
 #define pr_fmt(fmt) "6LoWPAN: " fmt
 
-#include <linux/net.h>
-#include <linux/list.h>
-#include <linux/netdevice.h>
-#include <linux/random.h>
-#include <linux/jhash.h>
-#include <linux/skbuff.h>
-#include <linux/slab.h>
-#include <linux/export.h>
-
 #include <net/ieee802154_netdev.h>
 #include <net/6lowpan.h>
-#include <net/ipv6.h>
-#include <net/inet_frag.h>
 
 #include "reassembly.h"
 
diff --git a/net/ieee802154/wpan-class.c b/net/ieee802154/wpan-class.c
index 4955e0f..9afbedb 100644
--- a/net/ieee802154/wpan-class.c
+++ b/net/ieee802154/wpan-class.c
@@ -16,11 +16,7 @@
  *
  */
 
-#include <linux/slab.h>
-#include <linux/kernel.h>
 #include <linux/module.h>
-#include <linux/device.h>
-
 #include <net/wpan-phy.h>
 
 #include "ieee802154.h"
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ