aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorOmer Shpigelman <oshpigelman@habana.ai>2021-10-11 10:03:44 +0300
committerOded Gabbay <ogabbay@kernel.org>2021-10-18 12:05:48 +0300
commitfae132632c55fdab81a81e0fd3d578d38ce43f78 (patch)
tree28a7e33236149b55de77b52e45c1afd630f4542d /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentd2f5684b8f28da52b8df9ac92a84d0f1c6983f5f (diff)
habanalabs: context cleanup cosmetics
No need to check the return value if the following action is the same for both cases. In addition, now that hl_ctx_free() doesn't print if the context is not released, its name can be misleading as the context might stay alive after it is executed with no indication for that. Hence we can discard it and simply put the refcount. Signed-off-by: Omer Shpigelman <oshpigelman@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions