Messages in this thread | | | From | Song Liu <> | Date | Sun, 29 May 2022 22:50:09 -0700 | Subject | Re: [PATCH bpf-next] bpf, test_run: Remove unnecessary prog type checks |
| |
On Sun, May 29, 2022 at 1:16 PM Daniel Xu <dxu@dxuuu.xyz> 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@dxuuu.xyz>
Acked-by: Song Liu <songliubraving@fb.com>
| |