Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/display: remove unused for_each_crtc()
@ 2024-12-02 12:54 Jani Nikula
  2024-12-02 13:03 ` ✓ CI.Patch_applied: success for " Patchwork
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Jani Nikula @ 2024-12-02 12:54 UTC (permalink / raw)
  To: intel-gfx, intel-xe; +Cc: jani.nikula

This is essentially a duplicate of drm_for_each_crtc() anyway. Remove.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/i915/display/intel_display.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_display.h b/drivers/gpu/drm/i915/display/intel_display.h
index caef04f655c5..49a246feb1ae 100644
--- a/drivers/gpu/drm/i915/display/intel_display.h
+++ b/drivers/gpu/drm/i915/display/intel_display.h
@@ -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,	\
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-12-03 10:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-02 12:54 [PATCH] drm/i915/display: remove unused for_each_crtc() Jani Nikula
2024-12-02 13:03 ` ✓ CI.Patch_applied: success for " Patchwork
2024-12-02 13:03 ` ✓ CI.checkpatch: " Patchwork
2024-12-02 13:04 ` ✓ CI.KUnit: " Patchwork
2024-12-02 13:05 ` [PATCH] " Gustavo Sousa
2024-12-03 10:36   ` Jani Nikula
2024-12-02 13:29 ` ✓ CI.Build: success for " Patchwork
2024-12-02 13:32 ` ✓ CI.Hooks: " Patchwork
2024-12-02 13:33 ` ✗ CI.checksparse: warning " Patchwork
2024-12-02 13:55 ` ✓ Xe.CI.BAT: success " Patchwork
2024-12-02 14:56 ` ✗ Xe.CI.Full: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox