drm/msm/dpu: drop unused variable from dpu_kms_mdp_snapshot()
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 22 Aug 2022 17:22:04 +0000 (20:22 +0300)
committerRob Clark <robdclark@chromium.org>
Sun, 18 Sep 2022 16:38:03 +0000 (09:38 -0700)
Follow up the merge of address fields and drop the variable that became
unused after the commit 9403f9a42c88 ("drm/msm/dpu: merge base_off with
blk_off in struct dpu_hw_blk_reg_map").

Fixes: 9403f9a42c88 ("drm/msm/dpu: merge base_off with blk_off in struct dpu_hw_blk_reg_map")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/498736/
Link: https://lore.kernel.org/r/20220822172204.281045-1-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c

index ffdb4fcd3bcc3f70d6449a04ae602c644b83f4e6..fd13157568d080ccc568e3145859aa3e28175d3c 100644 (file)
@@ -897,12 +897,10 @@ static void dpu_kms_mdp_snapshot(struct msm_disp_state *disp_state, struct msm_k
        int i;
        struct dpu_kms *dpu_kms;
        const struct dpu_mdss_cfg *cat;
-       struct dpu_hw_mdp *top;
 
        dpu_kms = to_dpu_kms(kms);
 
        cat = dpu_kms->catalog;
-       top = dpu_kms->hw_mdp;
 
        pm_runtime_get_sync(&dpu_kms->pdev->dev);