“d2485c4242a826fdf493fd3a27b8b792965b9b9e”上不存在“tools/include/uapi/linux/bpf.h”
提交 360e4f4e 编写于 作者: A Akhil R 提交者: Vinod Koul

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: NAkhil R <akhilrajeev@nvidia.com>
Link: https://lore.kernel.org/r/20220426101913.43335-3-akhilrajeev@nvidia.comSigned-off-by: NVinod Koul <vkoul@kernel.org>
上级 39b930be
......@@ -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");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册