• Lee Jones's avatar
    ath9k: ar5008_initvals: Move ar5416Bank{0,1,2,3,7} to where they are used · b016d0a5
    Lee Jones authored
    Fixes the following W=1 kernel build warning(s):
    
     drivers/net/wireless/ath/ath9k/ar5008_initvals.h:627:18: warning: ‘ar5416Bank7’ defined but not used [-Wunused-const-variable=]
     627 | static const u32 ar5416Bank7[][2] = {
     | ^~~~~~~~~~~
     drivers/net/wireless/ath/ath9k/ar5008_initvals.h:548:18: warning: ‘ar5416Bank3’ defined but not used [-Wunused-const-variable=]
     548 | static const u32 ar5416Bank3[][3] = {
     | ^~~~~~~~~~~
     drivers/net/wireless/ath/ath9k/ar5008_initvals.h:542:18: warning: ‘ar5416Bank2’ defined but not used [-Wunused-const-variable=]
     542 | static const u32 ar5416Bank2[][2] = {
     | ^~~~~~~~~~~
     drivers/net/wireless/ath/ath9k/ar5008_initvals.h:536:18: warning: ‘ar5416Bank1’ defined but not used [-Wunused-const-variable=]
     536 | static const u32 ar5416Bank1[][2] = {
     | ^~~~~~~~~~~
     drivers/net/wireless/ath/ath9k/ar5008_initvals.h:462:18: warning: ‘ar5416Bank0’ defined but not used [-Wunused-const-variable=]
     462 | static const u32 ar5416Bank0[][2] = {
     | ^~~~~~~~~~~
    
    Cc: QCA ath9k Development <ath9k-devel@qca.qualcomm.com>
    Cc: Kalle Valo <kvalo@codeaurora.org>
    Cc: "David S. Miller" <davem@davemloft.net>
    Cc: Jakub Kicinski <kuba@kernel.org>
    Cc: linux-wireless@vger.kernel.org
    Cc: netdev@vger.kernel.org
    Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
    Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
    Link: https://lore.kernel.org/r/20200826093401.1458456-27-lee.jones@linaro.org
    b016d0a5
ar5008_initvals.h 19.6 KB