ath5k: remove duplicated re-assignment to pointer 'tq'
authorColin Ian King <colin.king@canonical.com>
Thu, 1 Feb 2018 18:03:27 +0000 (18:03 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 27 Feb 2018 16:45:48 +0000 (18:45 +0200)
commit2571c081cb43c156f63b735dfb952119775324f4
treec5b652378078a00efc8bff19532781aab2a0df1b
parentfc8b92635f79cfc4dd3015384bebafada0b08f19
ath5k: remove duplicated re-assignment to pointer 'tq'

Pointer tq is initialized with &ah->ah_txq[queue] and then a few
lines later is re-assigned the same value, hence this duplicate
assignment is redundant and can be removed.

Cleans up clang warning:
drivers/net/wireless/ath/ath5k/qcu.c:326:25: warning: Value stored
to 'tq' during its initialization is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath5k/qcu.c