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

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

Acked-by: Liviu Dudau 

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!  /
  ---
¯\_(ツ)_/¯


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

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

Reviewed-by: Dmitry Baryshkov 


-- 
With best wishes
Dmitry


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

2024-05-16 Thread linux
From: "Dr. David Alan Gilbert" 

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

Signed-off-by: Dr. David Alan Gilbert 
---
 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