rtw88: change max_num_of_tx_queue() definition to inline in pci.h

It's more reasonable to define max_num_of_tx_queue() as an inline function.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
Zong-Zhe Yang 2019-12-20 17:21:56 +08:00 committed by Kalle Valo
parent f48abf064a
commit bbdd1d854e
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ struct rtw_pci {
void __iomem *mmap; void __iomem *mmap;
}; };
static u32 max_num_of_tx_queue(u8 queue) static inline u32 max_num_of_tx_queue(u8 queue)
{ {
u32 max_num; u32 max_num;