diff options
| author | Yalong Zou <[email protected]> | 2023-03-09 23:08:15 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-03-16 12:14:14 +0100 |
| commit | 4fa1387261e725a418066f8f46ea87a6ba0e5be1 (patch) | |
| tree | a2611c1dd627b2930002854416a363cbe2cd4386 /tools/perf/scripts/python/flamegraph.py | |
| parent | 3754c41c76867e41fe720555dc186ba4b3cccad9 (diff) | |
usb: remove dead code in dwc3_gadget_get_irq
platform_get_irq() only return non-zero irq number on success, or
negative error number on failure.
There is no need to check the return value of platform_get_irq()
to determine the return value of dwc3_gadget_get_irq(), removing
them to solve this problem.
Signed-off-by: Yalong Zou <[email protected]>
Signed-off-by: Dongliang Mu <[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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions