Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH] drm/i915: Remove unused function pointer typedef long_pulse_detect_func
@ 2021-02-15 11:30 Chen Lin
  2021-02-16 11:40 ` Ville Syrjälä
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Chen Lin @ 2021-02-15 11:30 UTC (permalink / raw)
  To: airlied, daniel; +Cc: intel-gfx, linux-kernel, dri-devel, Chen Lin

From: Chen Lin <chen.lin5@zte.com.cn>

Remove the 'long_pulse_detect_func' typedef as it is not used.

Signed-off-by: Chen Lin <chen.lin5@zte.com.cn>
---
 drivers/gpu/drm/i915/i915_irq.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 6cdb052..c294ac6 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -78,7 +78,6 @@ static inline void pmu_irq_stats(struct drm_i915_private *i915,
 	WRITE_ONCE(i915->pmu.irq_count, i915->pmu.irq_count + 1);
 }
 
-typedef bool (*long_pulse_detect_func)(enum hpd_pin pin, u32 val);
 typedef u32 (*hotplug_enables_func)(struct drm_i915_private *i915,
 				    enum hpd_pin pin);
 
-- 
1.7.9.5


_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2021-02-16 19:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-15 11:30 [Intel-gfx] [PATCH] drm/i915: Remove unused function pointer typedef long_pulse_detect_func Chen Lin
2021-02-16 11:40 ` Ville Syrjälä
2021-02-16 15:39   ` [Intel-gfx] [v2] drm/i915: Use function pointer typedef long_pulse_detect_func in intel_get_hpd_pins Chen Lin
2021-02-16 12:14 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Remove unused function pointer typedef long_pulse_detect_func Patchwork
2021-02-16 13:29 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2021-02-16 17:07 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Remove unused function pointer typedef long_pulse_detect_func (rev2) Patchwork
2021-02-16 19:12 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork

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