Searched hist:"3105 e42c75e0f80a6933e29291a94f669b869dbd" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | sor.c | diff 3105e42c75e0f80a6933e29291a94f669b869dbd Wed Mar 01 13:48:06 CST 2023 Deepak R Varma <drv@mailo.com> drm/tegra: sor: 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 coccicheck script.
Signed-off-by: Deepak R Varma <drv@mailo.com> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
|