diff options
| author | Zhu Wang <[email protected]> | 2023-08-03 16:29:00 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-08-04 11:10:33 +0100 |
| commit | 86b7e033d684a9d4ca20ad8e6f8b9300cf99668f (patch) | |
| tree | c870fde83aa110c14c0a201be12a93ff7178a46a /tools/perf/scripts/python/task-analyzer.py | |
| parent | 7740bb882fdea16b2f3a4d3804827b910f44206c (diff) | |
net: lan966x: Do not check 0 for platform_get_irq_byname()
Since platform_get_irq_byname() never returned zero, so it need not to
check whether it returned zero, it returned -EINVAL or -ENXIO when
failed, so we replace the return error code with the result it returned.
Signed-off-by: Zhu Wang <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Horatiu Vultur <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions