staging: ath6kl: Removing duplicate includes
authorVipin Mehta <vmehta@atheros.com>
Sat, 18 Sep 2010 01:26:03 +0000 (18:26 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 21 Sep 2010 00:02:01 +0000 (17:02 -0700)
Eliminating the inclusion of the same header file more than once.
The files being removed are already included by osapi_linux.h.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Vipin Mehta <vmehta@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsconfig.h
drivers/staging/ath6kl/os/linux/cfg80211.c
drivers/staging/ath6kl/os/linux/include/ar6000_drv.h
drivers/staging/ath6kl/os/linux/netbuf.c

index 4358834f6d71256ea52d7b09aedc3aea457fdde8..4e5b7bfc0ea9ac1bed018d942f4cb25a8d4c5a98 100644 (file)
 
 #include <linux/fs.h>
 #include <linux/errno.h>
-#include <linux/string.h>
 #include <linux/signal.h>
-#include <linux/timer.h>
 
 
 #include <linux/ioctl.h>
-#include <linux/skbuff.h>
 #include <linux/firmware.h>
-#include <linux/wait.h>
 
 
 #include <net/bluetooth/bluetooth.h>
index a8b9241f7d879947471c1fe1b59a1d9a83e7afcd..c94ad29eeb4dcdb13a70b5b3bdba73a0345221e4 100644 (file)
@@ -21,8 +21,6 @@
 // Author(s): ="Atheros"
 //------------------------------------------------------------------------------
 
-#include <linux/kernel.h>
-#include <linux/netdevice.h>
 #include <linux/wireless.h>
 #include <linux/ieee80211.h>
 #include <net/cfg80211.h>
index 8be4f553ab8e17847831d8eeb564f6a06210832d..e6248830b7ef671e2cbbac44b7e6dad0ac57a059 100644 (file)
 #ifndef _AR6000_H_
 #define _AR6000_H_
 
-#include <linux/version.h>
-
-
-#include <generated/autoconf.h>
 #include <linux/init.h>
-#include <linux/kernel.h>
 #include <linux/sched.h>
 #include <linux/spinlock.h>
-#include <linux/skbuff.h>
 #include <linux/if_ether.h>
-#include <linux/netdevice.h>
 #include <linux/etherdevice.h>
 #include <net/iw_handler.h>
 #include <linux/if_arp.h>
 #include <linux/ip.h>
-#include <linux/semaphore.h>
 #include <linux/wireless.h>
 #ifdef ATH6K_CONFIG_CFG80211
 #include <net/cfg80211.h>
index 63fa49c8567a634a917b643e046457d8d6371c18..15e5d0475202ecb13cb48d50a220032a3e22a0a2 100644 (file)
@@ -20,8 +20,6 @@
 //
 // Author(s): ="Atheros"
 //------------------------------------------------------------------------------
-#include <linux/kernel.h>
-#include <linux/skbuff.h>
 #include <a_config.h>
 #include "athdefs.h"
 #include "a_types.h"