diff options
| author | Soha Jin <[email protected]> | 2022-11-11 17:45:42 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-01-17 19:12:48 +0100 |
| commit | 9dd4541b1693e9aa124a167b40e294aa6906433f (patch) | |
| tree | 11b9f34bc71d0dee5aa53ac67f42cd258ee52a99 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | d16ee771fbece55e4a1fd5e032eeebee1efacc1d (diff) | |
platform: remove useless if-branch in __platform_get_irq_byname()
When CONFIG_OF_IRQ is not enabled, there will be a stub method that always
returns 0 when getting IRQ. Thus, the if-branch can be removed safely.
Signed-off-by: Soha Jin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions