summaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorDaniel Xu <dxu@dxuuu.xyz>2022-05-29 15:15:41 -0500
committerAndrii Nakryiko <andrii@kernel.org>2022-06-03 14:53:33 -0700
commit988d0d5899248b758d2f2eae3b57708fe78a8618 (patch)
tree2cbc6fb9418bf13e78f3b41f97f847fdf4f7f740 /scripts/bpf_doc.py
parent9bbdfad8a5192cfa698994dd8db3a52b137e7478 (diff)
bpf, test_run: Remove unnecessary prog type checks
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> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Song Liu <songliubraving@fb.com> Link: https://lore.kernel.org/bpf/0a9aaac329f76ddb17df1786b001117823ffefa5.1653855302.git.dxu@dxuuu.xyz
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions