]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_htc: remove dead code in error path of ath9k_htc_txcompletion_cb
authorJohn Linville <linville@tuxdriver.com>
Mon, 19 Jan 2015 19:02:21 +0000 (14:02 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 23 Jan 2015 19:16:02 +0000 (21:16 +0200)
commit0ca84ce529792dc9c7f7a044b4185033fe52e215
treeeadf3f26f1412187193312a34bbfa8545d9758ad
parent5cc6f2593c0b4192260ca86280e279d9ab1011b5
ath9k_htc: remove dead code in error path of ath9k_htc_txcompletion_cb

This clause is conditioned on htc_hdr != NULL, but it will only be NULL
when that check is reached.

Coverity: CID 114318

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/htc_hst.c