diff options
| author | Sean Anderson <[email protected]> | 2022-09-02 17:57:31 -0400 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-09-05 14:27:39 +0100 |
| commit | aedbeb4e597e9f6202d36e249f1027138a764a67 (patch) | |
| tree | 33f717bc68bb0822d5500493d0a1dfbbc13fc82c /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 5b6acb554065e9e0a8e93f17573afeae1e121844 (diff) | |
net: fman: Clean up error handling
This removes the _return label, since something like
err = -EFOO;
goto _return;
can be replaced by the briefer
return -EFOO;
Additionally, this skips going to _return_of_node_put when dev_node has
already been put (preventing a double put).
Signed-off-by: Sean Anderson <[email protected]>
Acked-by: Camelia Groza <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions