diff mbox series

drm/msm/dpu: Remove an unused enum

Message ID 20180913164615.15291-1-jcrouse@codeaurora.org (mailing list archive)
State New, archived
Headers show
Series drm/msm/dpu: Remove an unused enum | expand

Commit Message

Jordan Crouse Sept. 13, 2018, 4:46 p.m. UTC
enum dpu_ad isn't used and can be safely removed.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
---
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h | 6 ------
 1 file changed, 6 deletions(-)

Comments

Jeykumar Sankaran Sept. 13, 2018, 10:34 p.m. UTC | #1
On 2018-09-13 09:46, Jordan Crouse wrote:
> enum dpu_ad isn't used and can be safely removed.
> 
> Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
> ---

Reviewed-by: Jeykumar Sankaran <jsanka@codeaurora.org>

>  drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h | 6 ------
>  1 file changed, 6 deletions(-)
> 
> 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 62cf127b16d4..68c54d2c9677 100644
> --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h
> +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h
> @@ -232,12 +232,6 @@ enum dpu_wb {
>  	WB_MAX
>  };
> 
> -enum dpu_ad {
> -	AD_0 = 0x1,
> -	AD_1,
> -	AD_MAX
> -};
> -
>  enum dpu_cwb {
>  	CWB_0 = 0x1,
>  	CWB_1,
Sean Paul Sept. 17, 2018, 3:45 p.m. UTC | #2
On Thu, Sep 13, 2018 at 10:46:15AM -0600, Jordan Crouse wrote:
> enum dpu_ad isn't used and can be safely removed.
> 
> Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>

Nice catch! I've pushed it to dpu-staging

Sean

> ---
>  drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h | 6 ------
>  1 file changed, 6 deletions(-)
> 
> 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 62cf127b16d4..68c54d2c9677 100644
> --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h
> +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h
> @@ -232,12 +232,6 @@ enum dpu_wb {
>  	WB_MAX
>  };
>  
> -enum dpu_ad {
> -	AD_0 = 0x1,
> -	AD_1,
> -	AD_MAX
> -};
> -
>  enum dpu_cwb {
>  	CWB_0 = 0x1,
>  	CWB_1,
> -- 
> 2.18.0
> 
> _______________________________________________
> Freedreno mailing list
> Freedreno@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/freedreno
diff mbox series

Patch

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 62cf127b16d4..68c54d2c9677 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h
@@ -232,12 +232,6 @@  enum dpu_wb {
 	WB_MAX
 };
 
-enum dpu_ad {
-	AD_0 = 0x1,
-	AD_1,
-	AD_MAX
-};
-
 enum dpu_cwb {
 	CWB_0 = 0x1,
 	CWB_1,