summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBjörn Töpel <bjorn.topel@intel.com>2021-01-22 16:47:18 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2021-01-26 00:05:01 +0100
commit8a9cba7ea858da134d18aa9ea09e1e6606d8ade6 (patch)
treeeb7213f006ed39bcf19384df646e68f0b2be72ea /tools/perf/scripts/python
parent4896d7e37ea5217d42e210bfcf4d56964044704f (diff)
downloadlinux-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')
0 files changed, 0 insertions, 0 deletions