bpf: Drop reg_type_may_be_refcounted_or_null
It is not scalable to maintain a list of types that can have non-zero ref_obj_id. It is never set for scalars anyway, so just remove the conditional on register types and print it whenever it is non-zero. Acked-by: NDave Marchevsky <davemarchevsky@fb.com> Signed-off-by: NKumar Kartikeya Dwivedi <memxor@gmail.com> Acked-by: NDavid Vernet <void@manifault.com> Link: https://lore.kernel.org/r/20221103191013.1236066-6-memxor@gmail.comSigned-off-by: NAlexei Starovoitov <ast@kernel.org>
Showing
想要评论请 注册 或 登录