mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 12:33:18 -04:00
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:
committed by
Kalle Valo
parent
f48abf064a
commit
bbdd1d854e
@@ -210,7 +210,7 @@ struct rtw_pci {
|
||||
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user