OSDN Git Service

dmaengine: tegra-apb: Remove unnecessary return statements and variables
authorJon Hunter <jonathanh@nvidia.com>
Thu, 6 Aug 2015 13:32:32 +0000 (14:32 +0100)
committerVinod Koul <vinod.koul@intel.com>
Thu, 20 Aug 2015 06:40:21 +0000 (12:10 +0530)
commitdc1ff4b30a3592caf2ac6be691bd6c97b17383cd
treea656f8804f766b68daedbe3b6272903caefc8965
parent13a3328638dd009e76d4bb86e18dc8f3ae4f11dd
dmaengine: tegra-apb: Remove unnecessary return statements and variables

Some void functions have unnecessary return statements at the end
(reported by sparse) and so remove these. Also remove the return variables
from functions tegra_dma_prep_slave_sg() and tegra_dma_prep_slave_cyclic()
because the value is not used.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/tegra20-apb-dma.c