2011-07-23 08:21:33

by Huang Weiyi

[permalink] [raw]
Subject: [PATCH] ath5k: remove duplicated #include

Remove duplicated #include('s) in
drivers/net/wireless/ath/ath5k/ahb.c

Signed-off-by: Huang Weiyi <[email protected]>
---
drivers/net/wireless/ath/ath5k/ahb.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/ath/ath5k/ahb.c b/drivers/net/wireless/ath/ath5k/ahb.c
index ba682a0..705e0f0 100644
--- a/drivers/net/wireless/ath/ath5k/ahb.c
+++ b/drivers/net/wireless/ath/ath5k/ahb.c
@@ -24,7 +24,6 @@
#include "debug.h"
#include "base.h"
#include "reg.h"
-#include "debug.h"

/* return bus cachesize in 4B word units */
static void ath5k_ahb_read_cachesize(struct ath_common *common, int *csz)
--
1.5.6.4



2011-07-23 09:01:59

by Sedat Dilek

[permalink] [raw]
Subject: Re: [PATCH] ath5k: remove duplicated #include

On Sat, Jul 23, 2011 at 10:21 AM, Huang Weiyi <[email protected]> wrote:
> Remove duplicated #include('s) in
>  drivers/net/wireless/ath/ath5k/ahb.c
>
> Signed-off-by: Huang Weiyi <[email protected]>
> ---
>  drivers/net/wireless/ath/ath5k/ahb.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/wireless/ath/ath5k/ahb.c b/drivers/net/wireless/ath/ath5k/ahb.c
> index ba682a0..705e0f0 100644
> --- a/drivers/net/wireless/ath/ath5k/ahb.c
> +++ b/drivers/net/wireless/ath/ath5k/ahb.c
> @@ -24,7 +24,6 @@
>  #include "debug.h"
>  #include "base.h"
>  #include "reg.h"
> -#include "debug.h"
>
>  /* return bus cachesize in 4B word units */
>  static void ath5k_ahb_read_cachesize(struct ath_common *common, int *csz)
> --
> 1.5.6.4
>

[ CCing some ath5k developers and ML ]

Against which linux-version or GIT tree is this patch for?
Recent wireless-next (here I am on linux-next) was cleaned, the
includes list looks like this now:

[ drivers/net/wireless/ath/ath5k/ahb.c ]

#include <linux/nl80211.h>
#include <linux/platform_device.h>
#include <linux/etherdevice.h>
#include <ar231x_platform.h>
#include "ath5k.h"
#include "debug.h"
#include "base.h"
#include "reg.h"

- Sedat -