diff options
author | Harini Katakam <harini.katakam@amd.com> | 2022-08-02 12:22:32 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-09-05 08:31:54 +0200 |
commit | c0c269becf1f5b649b66a7f3eb60ff7e9aa8976d (patch) | |
tree | 5cff2fe357950e618eaf92baff8c66ba1747d4bd /drivers/dma | |
parent | dmaengine: stm32-dmamux: Simplify code and save a few bytes of memory (diff) | |
download | linux-c0c269becf1f5b649b66a7f3eb60ff7e9aa8976d.tar.xz linux-c0c269becf1f5b649b66a7f3eb60ff7e9aa8976d.zip |
dmaengine: pl330: Remove unused flags
txd.flags is unused and need not be updated.
Signed-off-by: Harini Katakam <harini.katakam@amd.com>
Link: https://lore.kernel.org/r/20220802102232.17653-1-harini.katakam@amd.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/pl330.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index 09915a5cba3e..0d9257fbdfb0 100644 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c @@ -2752,7 +2752,6 @@ static struct dma_async_tx_descriptor *pl330_prep_dma_cyclic( return NULL; pch->cyclic = true; - desc->txd.flags = flags; return &desc->txd; } @@ -2804,8 +2803,6 @@ pl330_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dst, desc->bytes_requested = len; - desc->txd.flags = flags; - return &desc->txd; } @@ -2889,7 +2886,6 @@ pl330_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl, } /* Return the last desc in the chain */ - desc->txd.flags = flg; return &desc->txd; } |