mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 18:40:25 -04:00
wilc1000: remove redundant assignment to pointer vif
The assignment to pointer vif is redundant as the assigned value
is never read, hence it can be removed.
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201203174316.1071446-1-colin.king@canonical.com
This commit is contained in:
committed by
Kalle Valo
parent
5f27b9afe8
commit
9b0467ed9a
@@ -685,7 +685,6 @@ int wilc_wlan_handle_txq(struct wilc *wilc, u32 *txq_count)
|
||||
if (!tqe_q[ac])
|
||||
continue;
|
||||
|
||||
vif = tqe_q[ac]->vif;
|
||||
ac_exist = 1;
|
||||
for (k = 0; (k < num_pkts_to_add[ac]) &&
|
||||
(!max_size_over) && tqe_q[ac]; k++) {
|
||||
|
||||
Reference in New Issue
Block a user