diff options
| author | Björn Töpel <[email protected]> | 2021-01-22 16:47:18 +0100 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-01-26 00:05:01 +0100 |
| commit | 8a9cba7ea858da134d18aa9ea09e1e6606d8ade6 (patch) | |
| tree | eb7213f006ed39bcf19384df646e68f0b2be72ea /tools/perf/scripts/python | |
| parent | 4896d7e37ea5217d42e210bfcf4d56964044704f (diff) | |
selftests/bpf: Improve readability of xdpxceiver/worker_pkt_validate()
Introduce a local variable to get rid of lot of casting. Move common
code outside the if/else-clause.
Signed-off-by: Björn Töpel <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions