OSDN Git Service

ath6kl: wmi: Remove unused variable 'rate'
authorLee Jones <lee.jones@linaro.org>
Wed, 26 Aug 2020 09:33:45 +0000 (10:33 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 27 Aug 2020 10:15:50 +0000 (13:15 +0300)
commite58518499dedda7978fba92b107650cfe6ee10ca
tree646b7cb1e3c13cd9814eb194828235742b93a936
parentc068a9ec3c94ff65f5b9e67934384ba82f731ed0
ath6kl: wmi: Remove unused variable 'rate'

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

 drivers/net/wireless/ath/ath6kl/wmi.c: In function ‘ath6kl_wmi_bitrate_reply_rx’:
 drivers/net/wireless/ath/ath6kl/wmi.c:1204:6: warning: variable ‘rate’ set but not used [-Wunused-but-set-variable]

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-15-lee.jones@linaro.org
drivers/net/wireless/ath/ath6kl/wmi.c