]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/komeda: remove unused struct 'gamma_curve_segment'
authorDr. David Alan Gilbert <linux@treblig.org>
Thu, 16 May 2024 13:37:24 +0000 (14:37 +0100)
committerLiviu Dudau <liviu.dudau@arm.com>
Fri, 31 May 2024 11:09:51 +0000 (12:09 +0100)
'gamma_curve_segment' looks like it has never been used.
Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240516133724.251750-1-linux@treblig.org
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c

index d8e449e6ebda286382179bce3f66d1a4812750b9..50cb8f7ee6b2cae492028cdffa65084c121c070e 100644 (file)
@@ -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   },