From: Yuan Can Date: Fri, 14 Oct 2022 02:48:10 +0000 (+0000) Subject: drm/omapdrm: Remove unused struct csc_coef_rgb2yuv X-Git-Tag: v6.6.17~3937^2~23^2~1102 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=88652d8a2c7c52e209b3385d63dfc82e2d80c848;p=platform%2Fkernel%2Flinux-rpi.git drm/omapdrm: Remove unused struct csc_coef_rgb2yuv After commit 64ff18911878, struct csc_coef_rgb2yuv is not used any more and can be removed as well. Fixes: 64ff18911878 ("drm/omap: Enable COLOR_ENCODING and COLOR_RANGE properties for planes") Signed-off-by: Yuan Can Reviewed-by: Laurent Pinchart Signed-off-by: Tomi Valkeinen Link: https://patchwork.freedesktop.org/patch/msgid/20221014024810.21675-1-yuancan@huawei.com --- diff --git a/drivers/gpu/drm/omapdrm/dss/dispc.c b/drivers/gpu/drm/omapdrm/dss/dispc.c index 0ee344e..aacad50 100644 --- a/drivers/gpu/drm/omapdrm/dss/dispc.c +++ b/drivers/gpu/drm/omapdrm/dss/dispc.c @@ -855,11 +855,6 @@ struct csc_coef_yuv2rgb { bool full_range; }; -struct csc_coef_rgb2yuv { - int yr, yg, yb, cbr, cbg, cbb, crr, crg, crb; - bool full_range; -}; - static void dispc_ovl_write_color_conv_coef(struct dispc_device *dispc, enum omap_plane_id plane, const struct csc_coef_yuv2rgb *ct)