[PATCH] libertas: fix one more sparse warnin
Dan Williams
dcbw at redhat.com
Tue Jun 19 13:27:46 EDT 2007
On Wed, 2007-06-13 at 11:25 +0200, Holger Schurig wrote:
> >From 2c44dd5bbfd4cdc3be0bc8a8687ea6e994b14672 Mon Sep 17 00:00:00 2001
> From: Holger Schurig <hs4233 at mail.mn-solutions.de>
> Date: Wed, 13 Jun 2007 10:39:44 +0200
> Subject: [PATCH] libertas: fix one more sparse warning
>
> adhoc_rates_b is only used locally, so make it static
>
> Signed-off-by: Holger Schurig <hs4233 at mail.mn-solutions.de>
Committed, thanks.
> drivers/net/wireless/libertas/join.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/wireless/libertas/join.c b/drivers/net/wireless/libertas/join.c
> index 0651ea0..e651d7a 100644
> --- a/drivers/net/wireless/libertas/join.c
> +++ b/drivers/net/wireless/libertas/join.c
> @@ -18,7 +18,7 @@
> #include "assoc.h"
>
> /* Supported rates for ad-hoc B mode */
> -u8 adhoc_rates_b[5] = { 0x02, 0x04, 0x0b, 0x16, 0x00 };
> +static u8 adhoc_rates_b[5] = { 0x02, 0x04, 0x0b, 0x16, 0x00 };
>
>
> /**
More information about the libertas-dev
mailing list