Return-path: Received: from mail.atheros.com ([12.19.149.2]:31835 "EHLO mail.atheros.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752179Ab0IRB0I (ORCPT ); Fri, 17 Sep 2010 21:26:08 -0400 Received: from mail.atheros.com ([10.10.20.105]) by sidewinder.atheros.com for ; Fri, 17 Sep 2010 18:26:02 -0700 From: Vipin Mehta To: CC: , , , Subject: [PATCH] staging: ath6kl: Removing duplicate includes Date: Fri, 17 Sep 2010 18:26:03 -0700 Message-ID: <1284773163-13954-1-git-send-email-vmehta@atheros.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org List-ID: 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 Signed-off-by: Vipin Mehta --- .../staging/ath6kl/miscdrv/ar3kps/ar3kpsconfig.h | 4 ---- drivers/staging/ath6kl/os/linux/cfg80211.c | 2 -- .../staging/ath6kl/os/linux/include/ar6000_drv.h | 8 -------- drivers/staging/ath6kl/os/linux/netbuf.c | 2 -- 4 files changed, 0 insertions(+), 16 deletions(-) diff --git a/drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsconfig.h b/drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsconfig.h index 4358834..4e5b7bf 100644 --- a/drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsconfig.h +++ b/drivers/staging/ath6kl/miscdrv/ar3kps/ar3kpsconfig.h @@ -36,15 +36,11 @@ #include #include -#include #include -#include #include -#include #include -#include #include diff --git a/drivers/staging/ath6kl/os/linux/cfg80211.c b/drivers/staging/ath6kl/os/linux/cfg80211.c index d5890d4..b8f2061 100644 --- a/drivers/staging/ath6kl/os/linux/cfg80211.c +++ b/drivers/staging/ath6kl/os/linux/cfg80211.c @@ -21,8 +21,6 @@ // Author(s): ="Atheros" //------------------------------------------------------------------------------ -#include -#include #include #include #include diff --git a/drivers/staging/ath6kl/os/linux/include/ar6000_drv.h b/drivers/staging/ath6kl/os/linux/include/ar6000_drv.h index 8be4f55..e624883 100644 --- a/drivers/staging/ath6kl/os/linux/include/ar6000_drv.h +++ b/drivers/staging/ath6kl/os/linux/include/ar6000_drv.h @@ -24,22 +24,14 @@ #ifndef _AR6000_H_ #define _AR6000_H_ -#include - - -#include #include -#include #include #include -#include #include -#include #include #include #include #include -#include #include #ifdef ATH6K_CONFIG_CFG80211 #include diff --git a/drivers/staging/ath6kl/os/linux/netbuf.c b/drivers/staging/ath6kl/os/linux/netbuf.c index 63fa49c..15e5d04 100644 --- a/drivers/staging/ath6kl/os/linux/netbuf.c +++ b/drivers/staging/ath6kl/os/linux/netbuf.c @@ -20,8 +20,6 @@ // // Author(s): ="Atheros" //------------------------------------------------------------------------------ -#include -#include #include #include "athdefs.h" #include "a_types.h" -- 1.6.3.3