diff options
| author | Wang Hai <[email protected]> | 2021-06-09 11:56:51 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-06-11 22:30:52 +0000 |
| commit | 3b3af91cb6893967bbec30f5c14562d0f7f00c2a (patch) | |
| tree | 8f48fa14b9c91d8dfb5be3ac6a85a04942fb9738 /tools/lib/bpf/netlink.c | |
| parent | selftests, bpf: Make docs tests fail more reliably (diff) | |
| download | kernel-3b3af91cb6893967bbec30f5c14562d0f7f00c2a.tar.gz kernel-3b3af91cb6893967bbec30f5c14562d0f7f00c2a.zip | |
libbpf: Simplify the return expression of bpf_object__init_maps function
There is no need for special treatment of the 'ret == 0' case.
This patch simplifies the return expression.
Signed-off-by: Wang Hai <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/netlink.c')
0 files changed, 0 insertions, 0 deletions
