Re: [PATCH] PCI: dw-rockchip: Remove redundant dev_err()
From: Markus Elfring
Date: Sun Oct 06 2024 - 03:40:42 EST
> There is no need to call the dev_err() function directly to print a
> custom message when handling an error from platform_get_irq_byname()
> function as it is going to display an appropriate error message in case
call?
> of a failure.
Were any static source code analysis tools involved in the detection
of the presented change possibility?
By the way:
Such a patch can be generated also by the means of the semantic patch
language (Coccinelle software) for example.
Regards,
Markus