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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1404877445-2757-3-git-send-email-varkab@cdac.in>
Date:	Wed,  9 Jul 2014 09:14:05 +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 2/2] mac802154: removed unwanted header files


Signed-off-by: Varka Bhadram <varkab@...c.in>
---
 net/mac802154/ieee802154_dev.c |    5 -----
 net/mac802154/llsec.c          |    7 -------
 net/mac802154/llsec.h          |    4 ----
 net/mac802154/mac802154.h      |    2 --
 net/mac802154/mac_cmd.c        |    3 ---
 net/mac802154/mib.c            |    2 --
 net/mac802154/monitor.c        |    4 ----
 net/mac802154/rx.c             |    7 -------
 net/mac802154/tx.c             |    5 -----
 net/mac802154/wpan.c           |    6 ------
 10 files changed, 45 deletions(-)

diff --git a/net/mac802154/ieee802154_dev.c b/net/mac802154/ieee802154_dev.c
index 9b54370..cb87a10 100644
--- a/net/mac802154/ieee802154_dev.c
+++ b/net/mac802154/ieee802154_dev.c
@@ -20,14 +20,9 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#include <linux/kernel.h>
 #include <linux/module.h>
-#include <linux/netdevice.h>
-
 #include <net/netlink.h>
 #include <linux/nl802154.h>
-#include <net/mac802154.h>
-#include <net/ieee802154_netdev.h>
 #include <net/route.h>
 #include <net/wpan-phy.h>
 
diff --git a/net/mac802154/llsec.c b/net/mac802154/llsec.c
index 4570581..7aa221c 100644
--- a/net/mac802154/llsec.c
+++ b/net/mac802154/llsec.c
@@ -14,13 +14,6 @@
  * Phoebe Buckheister <phoebe.buckheister@...m.fraunhofer.de>
  */
 
-#include <linux/err.h>
-#include <linux/bug.h>
-#include <linux/completion.h>
-#include <net/ieee802154.h>
-#include <crypto/algapi.h>
-
-#include "mac802154.h"
 #include "llsec.h"
 
 static void llsec_key_put(struct mac802154_llsec_key *key);
diff --git a/net/mac802154/llsec.h b/net/mac802154/llsec.h
index 950578e..1befa80 100644
--- a/net/mac802154/llsec.h
+++ b/net/mac802154/llsec.h
@@ -17,12 +17,8 @@
 #ifndef MAC802154_LLSEC_H
 #define MAC802154_LLSEC_H
 
-#include <linux/slab.h>
 #include <linux/hashtable.h>
 #include <linux/crypto.h>
-#include <linux/kref.h>
-#include <linux/spinlock.h>
-#include <net/af_ieee802154.h>
 #include <net/ieee802154_netdev.h>
 
 struct mac802154_llsec_key {
diff --git a/net/mac802154/mac802154.h b/net/mac802154/mac802154.h
index 762a6f8..0f956a2 100644
--- a/net/mac802154/mac802154.h
+++ b/net/mac802154/mac802154.h
@@ -23,9 +23,7 @@
 #ifndef MAC802154_H
 #define MAC802154_H
 
-#include <linux/mutex.h>
 #include <net/mac802154.h>
-#include <net/ieee802154_netdev.h>
 
 #include "llsec.h"
 
diff --git a/net/mac802154/mac_cmd.c b/net/mac802154/mac_cmd.c
index bf80913..2041d61 100644
--- a/net/mac802154/mac_cmd.c
+++ b/net/mac802154/mac_cmd.c
@@ -22,13 +22,10 @@
  * Alexander Smirnov <alex.bluesman.smirnov@...il.com>
  */
 
-#include <linux/skbuff.h>
 #include <linux/if_arp.h>
 
-#include <net/ieee802154.h>
 #include <net/ieee802154_netdev.h>
 #include <net/wpan-phy.h>
-#include <net/mac802154.h>
 #include <net/nl802154.h>
 
 #include "mac802154.h"
diff --git a/net/mac802154/mib.c b/net/mac802154/mib.c
index 868a040..33c5699 100644
--- a/net/mac802154/mib.c
+++ b/net/mac802154/mib.c
@@ -23,8 +23,6 @@
 
 #include <linux/if_arp.h>
 
-#include <net/mac802154.h>
-#include <net/ieee802154_netdev.h>
 #include <net/wpan-phy.h>
 
 #include "mac802154.h"
diff --git a/net/mac802154/monitor.c b/net/mac802154/monitor.c
index a68230e..3c77821 100644
--- a/net/mac802154/monitor.c
+++ b/net/mac802154/monitor.c
@@ -21,13 +21,9 @@
  * Alexander Smirnov <alex.bluesman.smirnov@...il.com>
  */
 
-#include <linux/netdevice.h>
-#include <linux/skbuff.h>
 #include <linux/if_arp.h>
 #include <linux/crc-ccitt.h>
 
-#include <net/ieee802154.h>
-#include <net/mac802154.h>
 #include <net/netlink.h>
 #include <net/wpan-phy.h>
 #include <linux/nl802154.h>
diff --git a/net/mac802154/rx.c b/net/mac802154/rx.c
index 7f820a1..a1dfc88 100644
--- a/net/mac802154/rx.c
+++ b/net/mac802154/rx.c
@@ -21,15 +21,8 @@
  * Alexander Smirnov <alex.bluesman.smirnov@...il.com>
  */
 
-#include <linux/kernel.h>
-#include <linux/module.h>
-#include <linux/workqueue.h>
-#include <linux/netdevice.h>
 #include <linux/crc-ccitt.h>
 
-#include <net/mac802154.h>
-#include <net/ieee802154_netdev.h>
-
 #include "mac802154.h"
 
 /* The IEEE 802.15.4 standard defines 4 MAC packet types:
diff --git a/net/mac802154/tx.c b/net/mac802154/tx.c
index 8124353..b3ae9d34 100644
--- a/net/mac802154/tx.c
+++ b/net/mac802154/tx.c
@@ -21,12 +21,7 @@
  * Alexander Smirnov <alex.bluesman.smirnov@...il.com>
  */
 
-#include <linux/netdevice.h>
-#include <linux/if_arp.h>
 #include <linux/crc-ccitt.h>
-
-#include <net/ieee802154_netdev.h>
-#include <net/mac802154.h>
 #include <net/wpan-phy.h>
 
 #include "mac802154.h"
diff --git a/net/mac802154/wpan.c b/net/mac802154/wpan.c
index 3c3069f..6006429 100644
--- a/net/mac802154/wpan.c
+++ b/net/mac802154/wpan.c
@@ -21,16 +21,10 @@
  * Alexander Smirnov <alex.bluesman.smirnov@...il.com>
  */
 
-#include <linux/netdevice.h>
-#include <linux/module.h>
 #include <linux/if_arp.h>
 
 #include <net/rtnetlink.h>
 #include <linux/nl802154.h>
-#include <net/af_ieee802154.h>
-#include <net/mac802154.h>
-#include <net/ieee802154_netdev.h>
-#include <net/ieee802154.h>
 #include <net/wpan-phy.h>
 
 #include "mac802154.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