Skip to content

Commit

Permalink
staging: ath6kl: Removing duplicate includes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vipin Mehta authored and Greg Kroah-Hartman committed Sep 21, 2010
1 parent 8522e70 commit 86fc4c8
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 16 deletions.
4 changes: 0 additions & 4 deletions drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,11 @@

#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>
Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/ath6kl/os/linux/cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
8 changes: 0 additions & 8 deletions drivers/staging/ath6kl/os/linux/include/ar6000_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,14 @@
#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>
Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/ath6kl/os/linux/netbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 86fc4c8

Please sign in to comment.