diff options
author | Jinjie Ruan <ruanjinjie@huawei.com> | 2024-08-30 11:13:24 +0800 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-09-03 12:54:43 +0200 |
commit | f834d572b7e995fa443f802da0f19d9c1285f41b (patch) | |
tree | f7c454b62e46549510468773b6d8a3771f0597e8 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 3a3eea209e6d3c1ad3b8b3155a4350caf1d7fa16 (diff) |
net: dsa: microchip: Use scoped function to simplfy code
Avoids the need for manual cleanup of_node_put() in early exits
from the loop by using for_each_available_child_of_node_scoped().
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions