From: Holger Schurig Date: Thu, 2 Aug 2007 15:45:30 +0000 (-0400) Subject: [PATCH] libertas: fix one more sparse warning X-Git-Tag: firefly_0821_release~26070^2~629 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c23a24f6ae083e058ed1e9472979df09915ffdf5;p=firefly-linux-kernel-4.4.55.git [PATCH] libertas: fix one more sparse warning adhoc_rates_b is only used locally, so make it static Signed-off-by: Holger Schurig Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/libertas/join.c b/drivers/net/wireless/libertas/join.c index 78e398d6f5f3..f71c172101a8 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 }; /**