summaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2013-08-26 14:27:51 +0200
committerVinod Koul <vinod.koul@intel.com>2013-08-27 10:56:37 +0200
commite5ffa401eacd0e74178e20ba932200fc9fe41c07 (patch)
treee7b05ef8c826d4a7667de4f6151deadc17c6a868 /drivers/dma
parentdma: sh: remove unnecessary platform_set_drvdata() (diff)
downloadlinux-e5ffa401eacd0e74178e20ba932200fc9fe41c07.tar.xz
linux-e5ffa401eacd0e74178e20ba932200fc9fe41c07.zip
DMA: shdma: fix a bad merge - remove free_irq()
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> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/sh/shdmac.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/dma/sh/shdmac.c b/drivers/dma/sh/shdmac.c
index 6128715973a4..33ce47eef0bf 100644
--- a/drivers/dma/sh/shdmac.c
+++ b/drivers/dma/sh/shdmac.c
@@ -901,14 +901,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);