* [PATCH] drm/komeda: remove unused struct 'gamma_curve_segment'
@ 2024-05-16 13:37 linux
2024-05-19 22:15 ` Dmitry Baryshkov
2024-05-20 15:21 ` Liviu Dudau
0 siblings, 2 replies; 3+ messages in thread
From: linux @ 2024-05-16 13:37 UTC (permalink / raw)
To: liviu.dudau, mripard, airlied
Cc: dri-devel, linux-kernel, Dr. David Alan Gilbert
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(-)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/komeda: remove unused struct 'gamma_curve_segment'
2024-05-16 13:37 [PATCH] drm/komeda: remove unused struct 'gamma_curve_segment' linux
@ 2024-05-19 22:15 ` Dmitry Baryshkov
2024-05-20 15:21 ` Liviu Dudau
1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Baryshkov @ 2024-05-19 22:15 UTC (permalink / raw)
To: linux; +Cc: liviu.dudau, mripard, airlied, dri-devel, linux-kernel
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>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] drm/komeda: remove unused struct 'gamma_curve_segment'
2024-05-16 13:37 [PATCH] drm/komeda: remove unused struct 'gamma_curve_segment' linux
2024-05-19 22:15 ` Dmitry Baryshkov
@ 2024-05-20 15:21 ` Liviu Dudau
1 sibling, 0 replies; 3+ messages in thread
From: Liviu Dudau @ 2024-05-20 15:21 UTC (permalink / raw)
To: linux; +Cc: mripard, airlied, dri-devel, linux-kernel
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
>
--
====================
| I would like to |
| fix the world, |
| but they're not |
| giving me the |
\ source code! /
---------------
¯\_(ツ)_/¯
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-20 15:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-16 13:37 [PATCH] drm/komeda: remove unused struct 'gamma_curve_segment' linux
2024-05-19 22:15 ` Dmitry Baryshkov
2024-05-20 15:21 ` Liviu Dudau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®