]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteb83d0a2b1206f1fc0f411e40d4c577bb4b04332
treec5b652378078a00efc8bff19532781aab2a0df1b
parent8d633ba50ca5c6e1c85c7c14796b694eac6f0655
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