2022-05-30 10:58:29

by Song Liu

[permalink] [raw]
Subject: Re: [PATCH bpf-next] bpf, test_run: Remove unnecessary prog type checks

On Sun, May 29, 2022 at 1:16 PM Daniel Xu <[email protected]> wrote:
>
> These checks were effectively noops b/c there's only one way these
> functions get called: through prog_ops dispatching. And since there's no
> other callers, we can be sure that `prog` is always the correct type.
>
> Signed-off-by: Daniel Xu <[email protected]>

Acked-by: Song Liu <[email protected]>