drm/msm/dpu: Remove useless checks in dpu_encoder
authorSean Paul <seanpaul@chromium.org>
Fri, 5 Nov 2021 03:04:26 +0000 (23:04 -0400)
committerRob Clark <robdclark@chromium.org>
Tue, 7 Dec 2021 22:47:10 +0000 (14:47 -0800)
commitfa063950c3c442c8ce66fd1c17cb431534768851
tree4dbc15ad880ca85d2140bf64fef649cfa340f3f8
parentb4e7ba4af311f6f620a084b93b7310c49a83cfce
drm/msm/dpu: Remove useless checks in dpu_encoder

A couple more useless checks to remove in dpu_encoder.

Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Abhinav Kumar <abhinavk@codeaurora.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210913175747.47456-10-sean@poorly.run
Link: https://patchwork.freedesktop.org/patch/msgid/20210915203834.1439-10-sean@poorly.run
Link: https://patchwork.freedesktop.org/patch/msgid/20211001151145.55916-10-sean@poorly.run
Changes in v2:
-None
Changes in v3:
-None
Changes in v4:
-None
Link: https://lore.kernel.org/r/20211105030434.2828845-10-sean@poorly.run
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c