summaryrefslogtreecommitdiffstats
path: root/drivers/dma/sh/rcar-audmapp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/sh/rcar-audmapp.c')
-rw-r--r--drivers/dma/sh/rcar-audmapp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dma/sh/rcar-audmapp.c b/drivers/dma/sh/rcar-audmapp.c
index 80fd2aeb4870..3db6be7d7c28 100644
--- a/drivers/dma/sh/rcar-audmapp.c
+++ b/drivers/dma/sh/rcar-audmapp.c
@@ -253,7 +253,6 @@ static int audmapp_chan_probe(struct platform_device *pdev,
static void audmapp_chan_remove(struct audmapp_device *audev)
{
- struct dma_device *dma_dev = &audev->shdma_dev.dma_dev;
struct shdma_chan *schan;
int i;
@@ -261,7 +260,6 @@ static void audmapp_chan_remove(struct audmapp_device *audev)
BUG_ON(!schan);
shdma_chan_remove(schan);
}
- dma_dev->chancnt = 0;
}
static struct dma_chan *audmapp_of_xlate(struct of_phandle_args *dma_spec,
OpenPOWER on IntegriCloud