]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: remove set but not used variable 'tlv_len'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 19 Oct 2018 12:20:26 +0000 (12:20 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 5 Nov 2018 11:13:02 +0000 (13:13 +0200)
commit3468404f78e16208ca534cca9bb8e80425eb70ce
tree1136d852574f69ac5aa1e84991c9390f63d1fb47
parenteb9bd8b963d61125b0e336f1f6c9487051a812c3
ath10k: remove set but not used variable 'tlv_len'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/wireless/ath/ath10k/wmi-tlv.c: In function 'ath10k_wmi_tlv_op_gen_config_pno_start':
drivers/net/wireless/ath/ath10k/wmi-tlv.c:3455:6: warning:
 variable 'tlv_len' set but not used [-Wunused-but-set-variable]

It never used since inroduction in commit
ce834e280f2f ("ath10k: support NET_DETECT WoWLAN feature")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/wmi-tlv.c