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:
parent
f48abf064a
commit
bbdd1d854e
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue