From: Dmitry Baryshkov Date: Tue, 22 Feb 2022 06:22:44 +0000 (+0300) Subject: drm/msm/dpu: drop INTF_TYPE_MAX symbol X-Git-Tag: v6.6.17~7157^2~3^2~94 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f4f3112213ebed0a32cf9e3739ad1711b919ebf5;p=platform%2Fkernel%2Flinux-rpi.git drm/msm/dpu: drop INTF_TYPE_MAX symbol This enum value does not correspond to any of actual interface types, it's not used by the driver, and the value of INTF_WB is greater than INTF_TYPE_MAX. Thus this symbol serves no purpose and can be removed. Signed-off-by: Dmitry Baryshkov Reviewed-by: Stephen Boyd Patchwork: https://patchwork.freedesktop.org/patch/475556/ Link: https://lore.kernel.org/r/20220222062246.242577-3-dmitry.baryshkov@linaro.org Signed-off-by: Dmitry Baryshkov --- diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h index 70b8fca..9f402be 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h @@ -232,7 +232,6 @@ enum dpu_intf_type { INTF_EDP = 0x9, /* both DP and eDP, handled by the new DP driver */ INTF_DP = 0xa, - INTF_TYPE_MAX, /* virtual interfaces */ INTF_WB = 0x100,