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>
This commit is contained in:
Alok Tiwari 2025-10-17 12:16:21 -07:00 committed by Tomi Valkeinen
parent db892a9f7a
commit c84d874615
1 changed files with 1 additions and 1 deletions

View File

@ -994,7 +994,7 @@ static void rcar_du_crtc_cleanup(struct drm_crtc *crtc)
rcar_du_crtc_crc_cleanup(rcrtc); rcar_du_crtc_crc_cleanup(rcrtc);
return drm_crtc_cleanup(crtc); drm_crtc_cleanup(crtc);
} }
static void rcar_du_crtc_reset(struct drm_crtc *crtc) static void rcar_du_crtc_reset(struct drm_crtc *crtc)