Skip to content

Commit c84d874

Browse files
aloktiwatomba
authored andcommitted
drm: rcar-du: fix incorrect return in rcar_du_crtc_cleanup()
The rcar_du_crtc_cleanup() function has a void return type, but incorrectly uses a return statement with a call to drm_crtc_cleanup(), which also returns void. Remove the return statement to ensure proper function semantics. No functional change intended. Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> Link: https://patch.msgid.link/20251017191634.1454201-1-alok.a.tiwari@oracle.com Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
1 parent db892a9 commit c84d874

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/renesas/rcar-du/rcar_du_crtc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ static void rcar_du_crtc_cleanup(struct drm_crtc *crtc)
994994

995995
rcar_du_crtc_crc_cleanup(rcrtc);
996996

997-
return drm_crtc_cleanup(crtc);
997+
drm_crtc_cleanup(crtc);
998998
}
999999

10001000
static void rcar_du_crtc_reset(struct drm_crtc *crtc)

0 commit comments

Comments
 (0)