drm/i915/display: remove unused for_each_crtc()
authorJani Nikula <jani.nikula@intel.com>
Mon, 2 Dec 2024 12:54:37 +0000 (14:54 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 3 Dec 2024 10:07:36 +0000 (12:07 +0200)
This is essentially a duplicate of drm_for_each_crtc() anyway. Remove.

Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241202125437.1154945-1-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_display.h

index caef04f655c585da4356a1df620fc5893e09e4ed..49a246feb1ae4f605f35394227b86b7cdd132f60 100644 (file)
@@ -238,9 +238,6 @@ enum phy_fia {
        for ((__phy) = PHY_A; (__phy) < I915_MAX_PHYS; (__phy)++)       \
                for_each_if((__phys_mask) & BIT(__phy))
 
-#define for_each_crtc(dev, crtc) \
-       list_for_each_entry(crtc, &(dev)->mode_config.crtc_list, head)
-
 #define for_each_intel_plane(dev, intel_plane) \
        list_for_each_entry(intel_plane,                        \
                            &(dev)->mode_config.plane_list,     \