diff options
| author | Daniel Xu <[email protected]> | 2022-05-29 20:15:41 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2022-06-03 21:53:33 +0000 |
| commit | 988d0d5899248b758d2f2eae3b57708fe78a8618 (patch) | |
| tree | 2cbc6fb9418bf13e78f3b41f97f847fdf4f7f740 /scripts/bpf_doc.py | |
| parent | libbpf: Fix a couple of typos (diff) | |
| download | kernel-988d0d5899248b758d2f2eae3b57708fe78a8618.tar.gz kernel-988d0d5899248b758d2f2eae3b57708fe78a8618.zip | |
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Song Liu <[email protected]>
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
