public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] DMA: shdma: fix a bad merge - remove free_irq()
@ 2013-08-26 12:27 Guennadi Liakhovetski
  2013-08-26 13:53 ` Vinod Koul
  0 siblings, 1 reply; 7+ messages in thread
From: Guennadi Liakhovetski @ 2013-08-26 12:27 UTC (permalink / raw)
  To: Koul, Vinod; +Cc: linux-sh, Magnus Damm, linux-kernel, Kuninori Morimoto

A bad merge resulted in a left-over free_irq() call. This patch removes it.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
---

Against today's dma-slave next branch.

 drivers/dma/sh/shdmac.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/drivers/dma/sh/shdmac.c b/drivers/dma/sh/shdmac.c
index c7faded..8f1683d 100644
--- a/drivers/dma/sh/shdmac.c
+++ b/drivers/dma/sh/shdmac.c
@@ -894,14 +894,9 @@ static int sh_dmae_remove(struct platform_device *pdev)
 {
 	struct sh_dmae_device *shdev = platform_get_drvdata(pdev);
 	struct dma_device *dma_dev = &shdev->shdma_dev.dma_dev;
-	struct resource *res;
-	int errirq = platform_get_irq(pdev, 0);
 
 	dma_async_device_unregister(dma_dev);
 
-	if (errirq > 0)
-		free_irq(errirq, shdev);
-
 	spin_lock_irq(&sh_dmae_lock);
 	list_del_rcu(&shdev->node);
 	spin_unlock_irq(&sh_dmae_lock);
-- 
1.7.2.5


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

end of thread, other threads:[~2013-08-28  7:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-26 12:27 [PATCH] DMA: shdma: fix a bad merge - remove free_irq() Guennadi Liakhovetski
2013-08-26 13:53 ` Vinod Koul
2013-08-27  9:21   ` Guennadi Liakhovetski
2013-08-27  9:01     ` Vinod Koul
2013-08-27 14:46       ` Guennadi Liakhovetski
2013-08-28  5:49         ` Vinod Koul
2013-08-28  7:18           ` Guennadi Liakhovetski

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