From: Gustavo Sousa Date: Thu, 17 Jul 2025 20:59:15 +0000 (-0300) Subject: drm/i915/display: Remove unused declarations of intel_io_* X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=4af5de27d3a9ba19b7f61ac2fa0d6d35ee876c95;p=users%2Fdwmw2%2Flinux.git drm/i915/display: Remove unused declarations of intel_io_* Declarations for both intel_io_mmio_fw_write and intel_io_reg_write were added with commit 01389846f7d6 ("drm/i915: Plumb 'dsb' all way to the plane hooks"), but they never got used. Let's remove them. Cc: Ville Syrjälä Signed-off-by: Gustavo Sousa Reviewed-by: Jonathan Cavitt Link: https://lore.kernel.org/r/20250717-drop-unused-intel_io-declarations-v1-1-bdea2c749571@intel.com Signed-off-by: Lucas De Marchi --- diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h b/drivers/gpu/drm/i915/display/intel_display_types.h index 8f8019d40d774..4d9df803ad477 100644 --- a/drivers/gpu/drm/i915/display/intel_display_types.h +++ b/drivers/gpu/drm/i915/display/intel_display_types.h @@ -943,10 +943,6 @@ struct intel_csc_matrix { u16 postoff[3]; }; -void intel_io_mmio_fw_write(void *ctx, i915_reg_t reg, u32 val); - -typedef void (*intel_io_reg_write)(void *ctx, i915_reg_t reg, u32 val); - struct intel_crtc_state { /* * uapi (drm) state. This is the software state shown to userspace.