Skip to contentSkip to conversation

drm/komeda: remove unused struct 'gamma_curve_segment'

PATCH In review [email protected] 3 participants 3 messages May 16, 2024 – May 20, 2024

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/komeda: remove unused struct 'gamma_curve_segment'

From: "Dr. David Alan Gilbert" <[email protected]>

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

---
 drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c +0 -5
index d8e449e6ebda..50cb8f7ee6b2 100644
@@ -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   },
Signature · 1 line
2.45.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · On Thu, May 16, 2024 at 02:37:24PM +0100, [email protected] wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

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

---
 drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c | 5 -----
 1 file changed, 5 deletions(-)
Signature · 2 lines
With best wishes
Dmitry
maintainer Acked-by on v1 1/1
#2 lore raw
In reply to [email protected]
Quoted 6 lines · On Thu, May 16, 2024 at 02:37:24PM +0100, [email protected] wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

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

Thanks for the clean up!

Best regards,
Liviu

Quoted 23 lines
---
 drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c +0 -5
index d8e449e6ebda..50cb8f7ee6b2 100644
@@ -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   },
Signature · 1 line
2.45.0
Signature · 8 lines
====================
| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
 \ source code!  /
  ---------------
    ¯\_(ツ)_/¯