diff options
| author | Björn Töpel <bjorn.topel@intel.com> | 2021-01-22 16:47:18 +0100 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-01-26 00:05:01 +0100 |
| commit | 8a9cba7ea858da134d18aa9ea09e1e6606d8ade6 (patch) | |
| tree | eb7213f006ed39bcf19384df646e68f0b2be72ea /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 4896d7e37ea5217d42e210bfcf4d56964044704f (diff) | |
| download | linux-8a9cba7ea858da134d18aa9ea09e1e6606d8ade6.tar.gz linux-8a9cba7ea858da134d18aa9ea09e1e6606d8ade6.zip | |
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 <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210122154725.22140-6-bjorn.topel@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
