]> 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)
commitb103a7c5fcddb89ed7c3f138efe1214c0b9b552f
treec5b652378078a00efc8bff19532781aab2a0df1b
parent2ce4f234c160edb2f80bdb4a2bf5e307d012e6c8
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