The following commit has been merged into the irq/core branch of tip: Commit-ID: 766ba1f937be5ec418bd759e40fccc0c8c42e271 Gitweb: https://git.kernel.org/tip/766ba1f937be5ec418bd759e40fccc0c8c42e271 Author: Thomas Gleixner <tglx@xxxxxxxxxxxxx> AuthorDate: Thu, 10 Dec 2020 20:25:49 +01:00 Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx> CommitterDate: Sat, 12 Dec 2020 12:59:04 +01:00 drm/i915/lpe_audio: Remove pointless irq_to_desc() usage Nothing uses the result and nothing should ever use it in driver code. Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Reviewed-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> Acked-by: Jani Nikula <jani.nikula@xxxxxxxxx> Link: https://lore.kernel.org/r/20201210194043.862572239@xxxxxxxxxxxxx --- drivers/gpu/drm/i915/display/intel_lpe_audio.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_lpe_audio.c b/drivers/gpu/drm/i915/display/intel_lpe_audio.c index ad5cc13..1c939f9 100644 --- a/drivers/gpu/drm/i915/display/intel_lpe_audio.c +++ b/drivers/gpu/drm/i915/display/intel_lpe_audio.c @@ -297,13 +297,9 @@ int intel_lpe_audio_init(struct drm_i915_private *dev_priv) */ void intel_lpe_audio_teardown(struct drm_i915_private *dev_priv) { - struct irq_desc *desc; - if (!HAS_LPE_AUDIO(dev_priv)) return; - desc = irq_to_desc(dev_priv->lpe_audio.irq); - lpe_audio_platdev_destroy(dev_priv); irq_free_desc(dev_priv->lpe_audio.irq);