diff options
author | Deepak R Varma <drv@mailo.com> | 2023-03-02 00:43:31 +0530 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2023-03-21 22:50:46 +0100 |
commit | 4e89780a4c4b303c84c53f7ed914cdf2ebc0aa30 (patch) | |
tree | db20dd691a4f95a0b3240ef02b59c20165bbafba /drivers/mfd/dln2.c | |
parent | e8d018dd0257f744ca50a729e3d042cf2ec9da65 (diff) |
EDAC/altera: Remove redundant error logging
A call to platform_get_irq() already prints an error on failure within
its own implementation. So printing another error based on its return
value in the caller is redundant and should be removed. The clean up
also makes if condition block braces unnecessary. Remove that as well.
Issue identified using platform_get_irq.cocci coccinelle semantic patch.
Signed-off-by: Deepak R Varma <drv@mailo.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/Y/+j27kqdhflPtaj@ubun2204.myguest.virtualbox.org
Diffstat (limited to 'drivers/mfd/dln2.c')
0 files changed, 0 insertions, 0 deletions