Nothing uses the result and nothing should ever use it in driver code.

Signed-off-by: Thomas Gleixner <t...@linutronix.de>
Cc: Jani Nikula <jani.nik...@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahti...@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.v...@intel.com>
Cc: David Airlie <airl...@linux.ie>
Cc: Daniel Vetter <dan...@ffwll.ch>
Cc: Pankaj Bharadiya <pankaj.laxminarayan.bharad...@intel.com>
Cc: Chris Wilson <ch...@chris-wilson.co.uk>
Cc: Wambui Karuga <wambui.karu...@gmail.com>
Cc: intel-...@lists.freedesktop.org
Cc: dri-de...@lists.freedesktop.org
---
 drivers/gpu/drm/i915/display/intel_lpe_audio.c |    4 ----
 1 file changed, 4 deletions(-)

--- 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
  */
 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);


Reply via email to