aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2024-04-09 13:59:41 -0500
committerRob Herring <[email protected]>2024-04-15 08:40:40 -0500
commita5737b21057468d7078477b70314091bbb19c735 (patch)
treee24d269a968b4e86972becde46245eea0911c3e7 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent40b0f17453fca50165c9d56401be663448e9136c (diff)
of: Use scope based of_node_put() cleanups
Use the relatively new scope based of_node_put() cleanup to simplify function exit handling. Doing so reduces the chances of forgetting an of_node_put() and simplifies error paths by avoiding the need for goto statements. Reviewed-by: Saravana Kannan <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions