提交 bbdd1d85 编写于 作者: Z Zong-Zhe Yang 提交者: Kalle Valo

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: NZong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: NYan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 f48abf06
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册