diff options
| author | Cheng Ziqiu <[email protected]> | 2023-03-14 15:01:30 +0800 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2023-03-18 16:06:31 +0000 |
| commit | fb37fdd02856e45e78209d32522029c9f77fe7b7 (patch) | |
| tree | 5c7a325a137bcfcc0b9e8cfc305e2aa36c93bc8f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | 30da26eacea6867353f7aa2c18f37a0a0fa82af4 (diff) | |
iio: adc: at91-sama5d2_adc: remove dead code in at91_adc_probe()
From the comment of platform_get_irq(), it only returns non-zero IRQ
number and negative error number, other than zero.
Fix this by removing the if condition.
Signed-off-by: Cheng Ziqiu <[email protected]>
Reviewed-by: Dongliang Mu <[email protected]>
Reviewed-by: Claudiu Beznea <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions