Home
last modified time | relevance | path

Searched hist:"2306 f5d0" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpu/drm/sprd/
H A Dsprd_dpu.c2306f5d0 Sun Dec 11 07:55:08 CST 2022 Deepak R Varma <drv@mailo.com> drm/sprd: 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: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/Y5XhPJ39ipMCcctq@qemulion