ath9k: Turn ath_txq_lock/unlock() into static inlines.
authorToke Høiland-Jørgensen <toke@toke.dk>
Mon, 5 Dec 2016 11:27:38 +0000 (13:27 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 15 Dec 2016 08:44:04 +0000 (10:44 +0200)
commit5c4607ebaabed2e9b414593a83c0ff97c6966f12
tree5ee47c5d876784432a1e35f161950da752e0623b
parent63fefa050477b0974ab34f650e21a7cfc3b02d96
ath9k: Turn ath_txq_lock/unlock() into static inlines.

These are one-line functions that just call spin_lock/unlock_bh(); turn
them into static inlines to avoid the function call overhead.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/xmit.c