dmaengine: tegra-apb: Remove duplicated pending_sg_req checks
authorDmitry Osipenko <digetx@gmail.com>
Sun, 9 Feb 2020 16:33:48 +0000 (19:33 +0300)
committerVinod Koul <vkoul@kernel.org>
Tue, 25 Feb 2020 06:27:33 +0000 (11:57 +0530)
commitd8396c0576c6919a60bdb573ab3cd5947243d140
treef1d7ac463d418d74e8e3ccd868f8ec4a5084854c
parenta75013a5a173c7b595de716314dd40091cb75f90
dmaengine: tegra-apb: Remove duplicated pending_sg_req checks

There are few place in the code which check whether pending_sg_req list is
empty despite of the check already being done. Let's remove the duplicated
checks to keep code clean.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20200209163356.6439-12-digetx@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/tegra20-apb-dma.c