]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/tidss: dispc: Remove unused OVR_REG_GET
authorMaxime Ripard <mripard@kernel.org>
Wed, 27 Aug 2025 15:12:32 +0000 (17:12 +0200)
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Mon, 1 Sep 2025 07:37:19 +0000 (10:37 +0300)
The OVR_REG_GET function in the dispc driver is not used anywhere. Let's
drop it.

Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20250827-drm-tidss-field-api-v3-1-7689b664cc63@kernel.org
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
drivers/gpu/drm/tidss/tidss_dispc.c

index 3f6cff2ab1b29b43638eb62d4ead36f7fe07486f..71031c3ad60e5a2c99a9a0981c85d246a1a42dc6 100644 (file)
@@ -653,13 +653,6 @@ static void VP_REG_FLD_MOD(struct dispc_device *dispc, u32 vp, u32 idx, u32 val,
                                               val, start, end));
 }
 
-__maybe_unused
-static u32 OVR_REG_GET(struct dispc_device *dispc, u32 ovr, u32 idx,
-                      u32 start, u32 end)
-{
-       return FLD_GET(dispc_ovr_read(dispc, ovr, idx), start, end);
-}
-
 static void OVR_REG_FLD_MOD(struct dispc_device *dispc, u32 ovr, u32 idx,
                            u32 val, u32 start, u32 end)
 {