diff options
| author | Chen Jiahao <[email protected]> | 2023-07-28 15:57:29 +0800 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2023-07-28 15:06:14 +0100 |
| commit | 71ee2a4f95e205bd33e79c7bd4bece3885e0e366 (patch) | |
| tree | 469928bc57c5b0be8efb61f776ae1cf9d222bafb /lib/crypto/mpi/mpi-mul.c | |
| parent | 026badeb7055e41000e4b139833ca5bafe360eb6 (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 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions