aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/sh/rcar-hpbdma.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/sh/rcar-hpbdma.c')
-rw-r--r--drivers/dma/sh/rcar-hpbdma.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/dma/sh/rcar-hpbdma.c b/drivers/dma/sh/rcar-hpbdma.c
index b212d9471ab5..20a6f6f2a018 100644
--- a/drivers/dma/sh/rcar-hpbdma.c
+++ b/drivers/dma/sh/rcar-hpbdma.c
@@ -619,7 +619,6 @@ error:
619 619
620static void hpb_dmae_chan_remove(struct hpb_dmae_device *hpbdev) 620static void hpb_dmae_chan_remove(struct hpb_dmae_device *hpbdev)
621{ 621{
622 struct dma_device *dma_dev = &hpbdev->shdma_dev.dma_dev;
623 struct shdma_chan *schan; 622 struct shdma_chan *schan;
624 int i; 623 int i;
625 624
@@ -628,7 +627,6 @@ static void hpb_dmae_chan_remove(struct hpb_dmae_device *hpbdev)
628 627
629 shdma_chan_remove(schan); 628 shdma_chan_remove(schan);
630 } 629 }
631 dma_dev->chancnt = 0;
632} 630}
633 631
634static int hpb_dmae_remove(struct platform_device *pdev) 632static int hpb_dmae_remove(struct platform_device *pdev)
@@ -655,7 +653,6 @@ static struct platform_driver hpb_dmae_driver = {
655 .remove = hpb_dmae_remove, 653 .remove = hpb_dmae_remove,
656 .shutdown = hpb_dmae_shutdown, 654 .shutdown = hpb_dmae_shutdown,
657 .driver = { 655 .driver = {
658 .owner = THIS_MODULE,
659 .name = "hpb-dma-engine", 656 .name = "hpb-dma-engine",
660 }, 657 },
661}; 658};