dmaengine: pl330: Remove unreachable code
authorSurendran K <surendran.k@samsung.com>
Fri, 16 Oct 2020 10:33:47 +0000 (16:03 +0530)
committerVinod Koul <vkoul@kernel.org>
Fri, 30 Oct 2020 08:40:27 +0000 (14:10 +0530)
commitdafd8fe27a9999ef14094dddfd5aaccd49750e1d
tree6fdb3c2a65da3cfd6e9f5a19bcf608351590f1a9
parent8145dce88a788f178dfe19376e5d8645d1b87e05
dmaengine: pl330: Remove unreachable code

_setup_req(..) never returns negative value.
Hence the condition ret < 0 is never met

Signed-off-by: Surendran K <surendran.k@samsung.com>
Link: https://lore.kernel.org/r/20201016103347.63084-1-surendran.k@samsung.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/pl330.c