@@ -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>
@@ -14,13 +14,6 @@
* Phoebe Buckheister <phoebe.buckheister@itwm.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);
@@ -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 {
@@ -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"
@@ -22,13 +22,10 @@
* Alexander Smirnov <alex.bluesman.smirnov@gmail.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"
@@ -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"
@@ -21,13 +21,9 @@
* Alexander Smirnov <alex.bluesman.smirnov@gmail.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>
@@ -21,15 +21,8 @@
* Alexander Smirnov <alex.bluesman.smirnov@gmail.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:
@@ -21,12 +21,7 @@
* Alexander Smirnov <alex.bluesman.smirnov@gmail.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"
@@ -21,16 +21,10 @@
* Alexander Smirnov <alex.bluesman.smirnov@gmail.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"
Signed-off-by: Varka Bhadram <varkab@cdac.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(-)