ath10k: htt_tx: move lock into id_get function
authorNicholas Mc Guire <hofrat@osadl.org>
Sat, 14 Jul 2018 17:38:20 +0000 (19:38 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 30 Jul 2018 17:58:44 +0000 (20:58 +0300)
commite82f57c8b9708baf4a58a9282636d9285b5aa2dd
tree3795cd681ee8c2957757d5d6e861afdce27b5c39
parent619c9700a8fe017bdbe60e08c21213962b2de87a
ath10k: htt_tx: move lock into id_get function

This is only code refactoring as all call sites of
ath10k_htt_tx_alloc_msdu_id() take the same lock it can be moved into the
id_get function and the assertion dropped.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/htt_tx.c