bpf: minor cleanups on fd maps and helpers
[cascardo/linux.git] / kernel / bpf / core.c
index b94a365..d638062 100644 (file)
@@ -719,14 +719,13 @@ select_insn:
 
                if (unlikely(index >= array->map.max_entries))
                        goto out;
-
                if (unlikely(tail_call_cnt > MAX_TAIL_CALL_CNT))
                        goto out;
 
                tail_call_cnt++;
 
                prog = READ_ONCE(array->ptrs[index]);
-               if (unlikely(!prog))
+               if (!prog)
                        goto out;
 
                /* ARG1 at this point is guaranteed to point to CTX from