aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/netlink.c
diff options
context:
space:
mode:
authorWang Hai <[email protected]>2021-06-09 11:56:51 +0000
committerAndrii Nakryiko <[email protected]>2021-06-11 22:30:52 +0000
commit3b3af91cb6893967bbec30f5c14562d0f7f00c2a (patch)
tree8f48fa14b9c91d8dfb5be3ac6a85a04942fb9738 /tools/lib/bpf/netlink.c
parentselftests, bpf: Make docs tests fail more reliably (diff)
downloadkernel-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