From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Cc: jani.nikula@intel.com
Subject: [PATCH] drm/i915/display: remove unused for_each_crtc()
Date: Mon, 2 Dec 2024 14:54:37 +0200 [thread overview]
Message-ID: <20241202125437.1154945-1-jani.nikula@intel.com> (raw)
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
next reply other threads:[~2024-12-02 12:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-02 12:54 Jani Nikula [this message]
2024-12-02 13:03 ` ✓ CI.Patch_applied: success for drm/i915/display: remove unused for_each_crtc() 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241202125437.1154945-1-jani.nikula@intel.com \
--to=jani.nikula@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox