diff options
| author | Björn Töpel <bjorn.topel@intel.com> | 2019-12-19 07:10:06 +0100 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2019-12-19 21:09:43 -0800 |
| commit | 1170beaa3fa3c3381fd820e9d05b84d168fe1dab (patch) | |
| tree | 39d15968f69918489e4ade622fc4808575f8edbe /tools/testing/selftests/bpf/test_cpp.cpp | |
| parent | 332f22a60e4c3492d4953cd6f7aaa4e8bd0bba97 (diff) | |
xdp: Simplify __bpf_tx_xdp_map()
The explicit error checking is not needed. Simply return the error
instead.
Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/bpf/20191219061006.21980-9-bjorn.topel@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/test_cpp.cpp')
0 files changed, 0 insertions, 0 deletions
