[PATCH] PCI: dw-rockchip: Remove redundant dev_err()
Markus Elfring
Markus.Elfring at web.de
Sun Oct 6 00:39:21 PDT 2024
> 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
More information about the Linux-rockchip
mailing list