Commit 16db6b53 authored by Oded Gabbay's avatar Oded Gabbay Committed by Greg Kroah-Hartman
Browse files

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: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent a38fd874
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ inline u32 hl_cq_inc_ptr(u32 ptr)
 * Increment ptr by 1. If it reaches the number of event queue
 * entries, set it to 0
 */
inline u32 hl_eq_inc_ptr(u32 ptr)
static inline u32 hl_eq_inc_ptr(u32 ptr)
{
	ptr++;
	if (unlikely(ptr == HL_EQ_LENGTH))