[PATCH] drm/komeda: remove unused struct 'gamma_curve_segment'

Liviu Dudau liviu.dudau at arm.com
Mon May 20 15:21:51 UTC 2024


On Thu, May 16, 2024 at 02:37:24PM +0100, linux at treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux at treblig.org>
> 
> 'gamma_curve_segment' looks like it has never been used.
> Remove it.
> 
> Signed-off-by: Dr. David Alan Gilbert <linux at treblig.org>

Acked-by: Liviu Dudau <liviu.dudau at 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
> 

-- 
====================
| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
 \ source code!  /
  ---------------
    ¯\_(ツ)_/¯


More information about the dri-devel mailing list