aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorChen Jiahao <[email protected]>2023-07-28 15:57:29 +0800
committerMark Brown <[email protected]>2023-07-28 15:06:14 +0100
commit71ee2a4f95e205bd33e79c7bd4bece3885e0e366 (patch)
tree469928bc57c5b0be8efb61f776ae1cf9d222bafb /tools/perf/scripts/python/mem-phys-addr.py
parent026badeb7055e41000e4b139833ca5bafe360eb6 (diff)
spi: microchip-core: Clean up redundant dev_err_probe()
Refering to platform_get_irq()'s definition, the return value has already been checked if ret < 0, and printed via dev_err_probe(). Calling dev_err_probe() one more time outside platform_get_irq() is obviously redundant. Furthermore, platform_get_irq() will never return irq equals 0, removing spi->irq == 0 checking to clean it up. Signed-off-by: Chen Jiahao <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions