]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
[PATCH] libertas: fix one more sparse warning
authorHolger Schurig <hs4233@mail.mn-solutions.de>
Thu, 2 Aug 2007 15:45:30 +0000 (11:45 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:49:49 +0000 (16:49 -0700)
adhoc_rates_b is only used locally, so make it static

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/join.c

index 78e398d6f5f365ed65b68d00faa5d7c7af0e8671..f71c172101a84032f2be4cfecce77a2ac3c24c31 100644 (file)
@@ -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 };
 
 
 /**