]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe81a406cd69c1f0adff9eb5681ae626f90777a5
tree5ee47c5d876784432a1e35f161950da752e0623b
parenta353d00e4f1f1224164632f352c4aeef478925b9
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