diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2020-02-09 19:33:55 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-02-25 11:57:34 +0530 |
commit | f261f1cd91efe36e932996efddaa7efffbb62831 (patch) | |
tree | ef4f2b68f832e79db0f0a5cbe396d9acc8b799b4 /drivers | |
parent | 6c41ac96ad9217fe2a6f31c9dcc31b97365b21f6 (diff) | |
download | linux-f261f1cd91efe36e932996efddaa7efffbb62831.tar.gz linux-f261f1cd91efe36e932996efddaa7efffbb62831.tar.bz2 linux-f261f1cd91efe36e932996efddaa7efffbb62831.zip |
dmaengine: tegra-apb: Remove unused function argument
Remove unused function argument from handle_continuous_head_request().
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20200209163356.6439-19-digetx@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dma/tegra20-apb-dma.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/dma/tegra20-apb-dma.c b/drivers/dma/tegra20-apb-dma.c index 85a37152a66d..3265eb8e5d91 100644 --- a/drivers/dma/tegra20-apb-dma.c +++ b/drivers/dma/tegra20-apb-dma.c @@ -553,7 +553,6 @@ static void tegra_dma_abort_all(struct tegra_dma_channel *tdc) } static bool handle_continuous_head_request(struct tegra_dma_channel *tdc, - struct tegra_dma_sg_req *last_sg_req, bool to_terminate) { struct tegra_dma_sg_req *hsgreq; @@ -638,7 +637,7 @@ static void handle_cont_sngl_cycle_dma_done(struct tegra_dma_channel *tdc, if (!list_is_last(&sgreq->node, &tdc->pending_sg_req)) { list_move_tail(&sgreq->node, &tdc->pending_sg_req); sgreq->configured = false; - st = handle_continuous_head_request(tdc, sgreq, to_terminate); + st = handle_continuous_head_request(tdc, to_terminate); if (!st) dma_desc->dma_status = DMA_ERROR; } |