aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLu Hongfei <[email protected]>2023-07-10 11:18:59 +0800
committerPaolo Abeni <[email protected]>2023-07-11 10:53:14 +0200
commit04499f28b40bfc24f20b0e2331008bb90a54a6cf (patch)
treee57d88b483be543da1ded8ab441c2b1b68f76a8e /tools/perf/scripts/python
parentc0dbbdf56f13c960aa6bedf61302f57411ae4865 (diff)
net: dsa: Removed unneeded of_node_put in felix_parse_ports_node
Remove unnecessary of_node_put from the continue path to prevent child node from being released twice, which could avoid resource leak or other unexpected issues. Signed-off-by: Lu Hongfei <[email protected]> Reviewed-by: Vladimir Oltean <[email protected]> Fixes: de879a016a94 ("net: dsa: felix: add functionality when not all ports are supported") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions