aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJessica Zhang <[email protected]>2025-01-08 22:40:48 +0000
committerAbhinav Kumar <[email protected]>2025-02-15 19:46:42 +0000
commit5e192eefebaab5bdcf716add8910d7f8a2e30e3c (patch)
treea1e1d2f611f8f32e6485d80441fde6bbe93aa12e
parentdrm/msm/dpu: Don't leak bits_per_component into random DSC_ENC fields (diff)
downloadkernel-5e192eefebaab5bdcf716add8910d7f8a2e30e3c.tar.gz
kernel-5e192eefebaab5bdcf716add8910d7f8a2e30e3c.zip
drm/msm/dpu: Drop extraneous return in dpu_crtc_reassign_planes()
Drop extra return at the end of dpu_crtc_reassign_planes() Fixes: 774bcfb73176 ("drm/msm/dpu: add support for virtual planes") Signed-off-by: Jessica Zhang <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/631565/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Abhinav Kumar <[email protected]>
-rw-r--r--drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
index 7191b1a6d41b..e5dcd41a361f 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
@@ -1228,8 +1228,6 @@ static int dpu_crtc_reassign_planes(struct drm_crtc *crtc, struct drm_crtc_state
done:
kfree(states);
return ret;
-
- return 0;
}
static int dpu_crtc_atomic_check(struct drm_crtc *crtc,