rtw88: debug: Remove unused variables 'val'
authorLee Jones <lee.jones@linaro.org>
Wed, 26 Aug 2020 09:33:52 +0000 (10:33 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 1 Sep 2020 13:14:48 +0000 (16:14 +0300)
commit0e25262bc36770379765c8856155f02088a0aad0
tree2c47f2021d232ab5aeff0e294869ebae3a2d876f
parent2307d0bc9d8b60299f255d1771ce0d997162a957
rtw88: debug: Remove unused variables 'val'

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

 drivers/net/wireless/realtek/rtw88/debug.c: In function ‘rtw_debug_get_mac_page’:
 drivers/net/wireless/realtek/rtw88/debug.c:430:6: warning: variable ‘val’ set but not used [-Wunused-but-set-variable]
 drivers/net/wireless/realtek/rtw88/debug.c: In function ‘rtw_debug_get_bb_page’:
 drivers/net/wireless/realtek/rtw88/debug.c:450:6: warning: variable ‘val’ set but not used [-Wunused-but-set-variable]

Cc: Yan-Hsuan Chuang <yhchuang@realtek.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: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200826093401.1458456-22-lee.jones@linaro.org
drivers/net/wireless/realtek/rtw88/debug.c