diff mbox series

drm/komeda: remove unused struct 'gamma_curve_segment'

Message ID 20240516133724.251750-1-linux@treblig.org (mailing list archive)
State New, archived
Headers show
Series drm/komeda: remove unused struct 'gamma_curve_segment' | expand

Commit Message

Dr. David Alan Gilbert May 16, 2024, 1:37 p.m. UTC
From: "Dr. David Alan Gilbert" <linux@treblig.org>

'gamma_curve_segment' looks like it has never been used.
Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c | 5 -----
 1 file changed, 5 deletions(-)

Comments

Dmitry Baryshkov May 19, 2024, 10:15 p.m. UTC | #1
On Thu, May 16, 2024 at 02:37:24PM +0100, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> 'gamma_curve_segment' looks like it has never been used.
> Remove it.
> 
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
> ---
>  drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c | 5 -----
>  1 file changed, 5 deletions(-)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Liviu Dudau May 20, 2024, 3:21 p.m. UTC | #2
On Thu, May 16, 2024 at 02:37:24PM +0100, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> 'gamma_curve_segment' looks like it has never been used.
> Remove it.
> 
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>

Acked-by: Liviu Dudau <liviu.dudau@arm.com>

Thanks for the clean up!

Best regards,
Liviu

> ---
>  drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c b/drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c
> index d8e449e6ebda..50cb8f7ee6b2 100644
> --- a/drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c
> +++ b/drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c
> @@ -72,11 +72,6 @@ struct gamma_curve_sector {
>  	u32 segment_width;
>  };
>  
> -struct gamma_curve_segment {
> -	u32 start;
> -	u32 end;
> -};
> -
>  static struct gamma_curve_sector sector_tbl[] = {
>  	{ 0,    4,  4   },
>  	{ 16,   4,  4   },
> -- 
> 2.45.0
>
diff mbox series

Patch

diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c b/drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c
index d8e449e6ebda..50cb8f7ee6b2 100644
--- a/drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c
+++ b/drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c
@@ -72,11 +72,6 @@  struct gamma_curve_sector {
 	u32 segment_width;
 };
 
-struct gamma_curve_segment {
-	u32 start;
-	u32 end;
-};
-
 static struct gamma_curve_sector sector_tbl[] = {
 	{ 0,    4,  4   },
 	{ 16,   4,  4   },