Star64_linux/drivers/net/wireless/ath/carl9170
Lee Jones 859228a3ae carl9170: Convert 'ar9170_qmap' to inline function
'ar9170_qmap' is used in some source files which include carl9170.h,
but not all of them.  A 'defined but not used' warning is thrown when
compiling the ones which do not use it.

Fixes the following W=1 kernel build warning(s)

 from drivers/net/wireless/ath/carl9170/carl9170.h:57,
 In file included from drivers/net/wireless/ath/carl9170/carl9170.h:57,
 drivers/net/wireless/ath/carl9170/carl9170.h:71:17: warning: ‘ar9170_qmap’ defined but not used [-Wunused-const-variable=]

 NB: Snipped - lots of these repeat

Cc: Christian Lamparter <chunkeey@googlemail.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Suggested-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200827093351.GA1627017@dell
2020-08-31 18:19:26 +03:00
..
carl9170.h carl9170: Convert 'ar9170_qmap' to inline function 2020-08-31 18:19:26 +03:00
cmd.c
cmd.h
debug.c carl9170: Use scnprintf() for avoiding potential buffer overflow 2020-03-12 15:43:36 +02:00
debug.h
eeprom.h
fw.c carl9170: remove P2P_GO support 2020-05-06 09:14:20 +03:00
fwcmd.h carl9170: Replace zero-length array with flexible-array 2020-05-12 10:31:49 +03:00
fwdesc.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 325 2019-06-05 17:37:06 +02:00
hw.h carl9170: Replace zero-length array with flexible-array 2020-05-12 10:31:49 +03:00
Kconfig ath: fix wiki website url 2020-06-09 09:25:25 +03:00
led.c
mac.c wireless: carl9170: fix clang build warning 2019-04-29 18:00:42 +03:00
main.c carl9170: Convert 'ar9170_qmap' to inline function 2020-08-31 18:19:26 +03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
phy.c
phy.h
rx.c carl9170: Use fallthrough pseudo-keyword 2020-08-27 13:20:26 +03:00
tx.c carl9170: Convert 'ar9170_qmap' to inline function 2020-08-31 18:19:26 +03:00
usb.c carl9170: convert tasklets to use new tasklet_setup() API 2020-08-27 13:21:34 +03:00
version.h
wlan.h