aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/sh/shdmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/sh/shdmac.c')
-rw-r--r--drivers/dma/sh/shdmac.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dma/sh/shdmac.c b/drivers/dma/sh/shdmac.c
index 58eb85770eba..b65317c6ea4e 100644
--- a/drivers/dma/sh/shdmac.c
+++ b/drivers/dma/sh/shdmac.c
@@ -572,7 +572,6 @@ err_no_irq:
572 572
573static void sh_dmae_chan_remove(struct sh_dmae_device *shdev) 573static void sh_dmae_chan_remove(struct sh_dmae_device *shdev)
574{ 574{
575 struct dma_device *dma_dev = &shdev->shdma_dev.dma_dev;
576 struct shdma_chan *schan; 575 struct shdma_chan *schan;
577 int i; 576 int i;
578 577
@@ -581,7 +580,6 @@ static void sh_dmae_chan_remove(struct sh_dmae_device *shdev)
581 580
582 shdma_chan_remove(schan); 581 shdma_chan_remove(schan);
583 } 582 }
584 dma_dev->chancnt = 0;
585} 583}
586 584
587static void sh_dmae_shutdown(struct platform_device *pdev) 585static void sh_dmae_shutdown(struct platform_device *pdev)