Search Linux Wireless

[PATCH 5/8] cfg80211: remove unnecessary include clauses (cfg80211.h)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<linux/if_ether.h> is included by <linux/ieee80211.h>;
<linux/skbuff.h> is included by <linux/if_ether.h>;
<linux/bug.h> and <linux/net.h> is included by <linux/skbuff.h>.

So just remove them.

Signed-off-by: Zhao, Gang <gamerh2o@xxxxxxxxx>
---
 include/net/cfg80211.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index fb8afce..6e32623 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -13,13 +13,9 @@
 #include <linux/netdevice.h>
 #include <linux/debugfs.h>
 #include <linux/list.h>
-#include <linux/bug.h>
 #include <linux/netlink.h>
-#include <linux/skbuff.h>
 #include <linux/nl80211.h>
-#include <linux/if_ether.h>
 #include <linux/ieee80211.h>
-#include <linux/net.h>
 #include <net/regulatory.h>
 
 /**
-- 
1.9.0

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




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux