summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/dma/tegra186-gpc-dma.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/dma/tegra186-gpc-dma.c b/drivers/dma/tegra186-gpc-dma.c
index b33c9b7770d5..05cd451f541d 100644
--- a/drivers/dma/tegra186-gpc-dma.c
+++ b/drivers/dma/tegra186-gpc-dma.c
@@ -829,10 +829,6 @@ static int get_transfer_param(struct tegra_dma_channel *tdc,
*slave_bw = tdc->dma_sconfig.src_addr_width;
*csr = TEGRA_GPCDMA_CSR_DMA_IO2MEM_FC;
return 0;
- case DMA_MEM_TO_MEM:
- *burst_size = tdc->dma_sconfig.src_addr_width;
- *csr = TEGRA_GPCDMA_CSR_DMA_MEM2MEM;
- return 0;
default:
dev_err(tdc2dev(tdc), "DMA direction is not supported\n");
}