[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <X9J7h+myHaraeoKH@intel.com>
Date: Thu, 10 Dec 2020 21:48:23 +0200
From: Ville Syrjälä <ville.syrjala@...ux.intel.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: LKML <linux-kernel@...r.kernel.org>,
Mark Rutland <mark.rutland@....com>,
Karthikeyan Mitran <m.karthikeyan@...iveil.co.in>,
Peter Zijlstra <peterz@...radead.org>,
Catalin Marinas <catalin.marinas@....com>,
Linus Walleij <linus.walleij@...aro.org>,
dri-devel@...ts.freedesktop.org,
Chris Wilson <chris@...is-wilson.co.uk>,
"James E.J. Bottomley" <James.Bottomley@...senpartnership.com>,
netdev@...r.kernel.org, Will Deacon <will@...nel.org>,
Michal Simek <michal.simek@...inx.com>,
Rob Herring <robh@...nel.org>, linux-s390@...r.kernel.org,
afzal mohammed <afzal.mohd.ma@...il.com>,
Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
Dave Jiang <dave.jiang@...el.com>,
xen-devel@...ts.xenproject.org, Leon Romanovsky <leon@...nel.org>,
linux-rdma@...r.kernel.org, Marc Zyngier <maz@...nel.org>,
Helge Deller <deller@....de>,
Russell King <linux@...linux.org.uk>,
Christian Borntraeger <borntraeger@...ibm.com>,
linux-pci@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>,
Heiko Carstens <hca@...ux.ibm.com>,
Wambui Karuga <wambui.karugax@...il.com>,
Allen Hubbe <allenbh@...il.com>,
Juergen Gross <jgross@...e.com>,
intel-gfx@...ts.freedesktop.org, linux-gpio@...r.kernel.org,
Stefano Stabellini <sstabellini@...nel.org>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Lee Jones <lee.jones@...aro.org>,
linux-arm-kernel@...ts.infradead.org,
Boris Ostrovsky <boris.ostrovsky@...cle.com>,
David Airlie <airlied@...ux.ie>, linux-parisc@...r.kernel.org,
Hou Zhiqiang <Zhiqiang.Hou@....com>,
Tariq Toukan <tariqt@...dia.com>, Jon Mason <jdmason@...zu.us>,
linux-ntb@...glegroups.com, Saeed Mahameed <saeedm@...dia.com>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [Intel-gfx] [patch 13/30] drm/i915/lpe_audio: Remove pointless
irq_to_desc() usage
On Thu, Dec 10, 2020 at 08:25:49PM +0100, Thomas Gleixner wrote:
> Nothing uses the result and nothing should ever use it in driver code.
>
> Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
> Cc: Jani Nikula <jani.nikula@...ux.intel.com>
> Cc: Joonas Lahtinen <joonas.lahtinen@...ux.intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@...el.com>
> Cc: David Airlie <airlied@...ux.ie>
> Cc: Daniel Vetter <daniel@...ll.ch>
> Cc: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@...el.com>
> Cc: Chris Wilson <chris@...is-wilson.co.uk>
> Cc: Wambui Karuga <wambui.karugax@...il.com>
> Cc: intel-gfx@...ts.freedesktop.org
> Cc: dri-devel@...ts.freedesktop.org
Reviewed-by: Ville Syrjälä <ville.syrjala@...ux.intel.com>
> ---
> 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);
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@...ts.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Ville Syrjälä
Intel
Powered by blists - more mailing lists