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

From: Song Liu
Date: Mon May 30 2022 - 01:50:30 EST


On Sun, May 29, 2022 at 1:16 PM Daniel Xu <dxu@xxxxxxxxx> 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 <dxu@xxxxxxxxx>

Acked-by: Song Liu <songliubraving@xxxxxx>