提交 16db6b53 编写于 作者: O Oded Gabbay 提交者: Greg Kroah-Hartman

habanalabs: mark hl_eq_inc_ptr() as static

hl_eq_inc_ptr() is not called from anywhere outside irq.c so mark
it as static
Reported-by: Nkernel test robot <lkp@intel.com>
Signed-off-by: NOded Gabbay <ogabbay@kernel.org>
上级 a38fd874
...@@ -47,7 +47,7 @@ inline u32 hl_cq_inc_ptr(u32 ptr) ...@@ -47,7 +47,7 @@ inline u32 hl_cq_inc_ptr(u32 ptr)
* Increment ptr by 1. If it reaches the number of event queue * Increment ptr by 1. If it reaches the number of event queue
* entries, set it to 0 * entries, set it to 0
*/ */
inline u32 hl_eq_inc_ptr(u32 ptr) static inline u32 hl_eq_inc_ptr(u32 ptr)
{ {
ptr++; ptr++;
if (unlikely(ptr == HL_EQ_LENGTH)) if (unlikely(ptr == HL_EQ_LENGTH))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册