ath11k: Remove redundant assignment to variable fw_size
authorColin Ian King <colin.king@canonical.com>
Thu, 7 Oct 2021 15:16:24 +0000 (18:16 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 11 Oct 2021 06:23:51 +0000 (09:23 +0300)
commit4f50bdfb4e5fc3d753c8cf94b94b43aaa2c49b95
tree1840468aa294ab5647b7b1d029ae187271e96b53
parent567ec33a76c7d8e7fbd7a73c81dd16b9efc7ae6d
ath11k: Remove redundant assignment to variable fw_size

Variable fw_size is being assigned a value that is never read and
being re-assigned a new value in the next statement. The assignment
is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Fixes: 336e7b53c82f ("ath11k: clean up BDF download functions")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20211006105529.1011239-1-colin.king@canonical.com
drivers/net/wireless/ath/ath11k/qmi.c