dmaengine: xilinx_dma: Drop SG support for VDMA IP
authorAndrea Merello <andrea.merello@gmail.com>
Tue, 20 Nov 2018 15:31:51 +0000 (16:31 +0100)
committerVinod Koul <vkoul@kernel.org>
Mon, 7 Jan 2019 04:23:12 +0000 (09:53 +0530)
commitb8349172b4001ea4e8b38a243275aecd90aa7573
tree7c2d58be45772b8f0112ac63d19baaacaba99ba9
parent29b9ee4a0c0edf32667e2d95690f6ed810aad6ec
dmaengine: xilinx_dma: Drop SG support for VDMA IP

xilinx_vdma_start_transfer() is used only for VDMA IP, still it contains
conditional code on has_sg variable. has_sg is set only whenever the HW
does support SG mode, that is never true for VDMA IP.

This patch drops the never-taken branches.

Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/xilinx/xilinx_dma.c