dmaengine: tegra: Remove unused switch case

Remove unused switch case in get_transfer_param() function.
The function is not called for MEM_TO_MEM transfers.

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Link: https://lore.kernel.org/r/20220426101913.43335-3-akhilrajeev@nvidia.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
Akhil R 2022-04-26 15:49:13 +05:30 committed by Vinod Koul
parent 39b930bec8
commit 360e4f4e3f
1 changed files with 0 additions and 4 deletions

View File

@ -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");
}