linux/drivers/net/wireless
Kalle Valo da3a9d3c15 ath11k: refactor debugfs code into debugfs.c
If CONFIG_ATH11K_DEBUGFS is disabled there are warnings debug.c:

drivers/net/wireless/ath/ath11k/debug.c:36:20: warning: 'htt_bp_lmac_ring' defined but not used [-Wunused-variable]
   36 | static const char *htt_bp_lmac_ring[HTT_SW_LMAC_RING_IDX_MAX] = {
      |                    ^~~~~~~~~~~~~~~~
drivers/net/wireless/ath/ath11k/debug.c:15:20: warning: 'htt_bp_umac_ring' defined but not used [-Wunused-variable]
   15 | static const char *htt_bp_umac_ring[HTT_SW_UMAC_RING_IDX_MAX] = {
      |                    ^~~~~~~~~~~~~~~~

Fix this by refactoring debugfs code to debugfs.c. This also reduces the number
of ifdefs in debug.c and makes it easier to maintain the code.

No functional changes. Compile tested only.

Reported-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1600264523-12939-1-git-send-email-kvalo@codeaurora.org
2020-09-22 10:41:41 +03:00
..
admtek
ath ath11k: refactor debugfs code into debugfs.c 2020-09-22 10:41:41 +03:00
atmel
broadcom brcmsmac: fix memory leak in wlc_phy_attach_lcnphy 2020-09-09 10:32:29 +03:00
cisco
intel wireless-drivers-next patches for v5.10 2020-09-11 13:32:31 -07:00
intersil prism54: isl_ioctl: Remove unused variable 'j' 2020-09-01 16:14:51 +03:00
marvell mwifiex: remove function pointer check 2020-09-09 10:30:28 +03:00
mediatek wireless-drivers-next patches for v5.10 2020-09-11 13:32:31 -07:00
microchip
quantenna
ralink
realtek rtlwifi: switch from 'pci_' to 'dma_' API 2020-09-09 10:33:17 +03:00
rsi rsi: rsi_91x_sdio_ops: File headers are not good kernel-doc candidates 2020-09-01 16:14:49 +03:00
st
ti wlcore: debugfs: Remove unused variable 'res' 2020-09-01 16:14:44 +03:00
zydas zd1211rw: zd_chip: Correct misspelled function argument 2020-09-01 16:14:41 +03:00
Kconfig
mac80211_hwsim.c
mac80211_hwsim.h
Makefile
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c
virt_wifi.c
wl3501.h
wl3501_cs.c wl3501_cs: Fix a bunch of formatting issues related to function docs 2020-09-01 16:14:47 +03:00