diff options
author | Robin Murphy <robin.murphy@arm.com> | 2020-09-03 22:25:53 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-09-11 14:12:13 +0200 |
commit | 2fc3cad287c62c6477ab674e4430662b470c3a22 (patch) | |
tree | e5ea8cc62c06752820bcddf62102c816408a2344 /drivers/dma/pl330.c | |
parent | dmaengine: qcom: bam_dma: Drop local dma_parms (diff) | |
download | linux-2fc3cad287c62c6477ab674e4430662b470c3a22.tar.xz linux-2fc3cad287c62c6477ab674e4430662b470c3a22.zip |
dmaengine: pl330: Drop local dma_parms
Since commit f458488425f1 ("amba: Initialize dma_parms for amba
devices"), struct amba_device already provides a dma_parms structure,
so we can save allocating another one.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/c9e58882e33f22f9b0a6d65a5507e24004512148.1599164692.git.robin.murphy@arm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/pl330.c')
-rw-r--r-- | drivers/dma/pl330.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index f3e67765c66c..4b8e4051988f 100644 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c @@ -460,9 +460,6 @@ struct pl330_dmac { /* DMA-Engine Device */ struct dma_device ddma; - /* Holds info about sg limitations */ - struct device_dma_parameters dma_parms; - /* Pool of descriptors available for the DMAC's channels */ struct list_head desc_pool; /* To protect desc_pool manipulation */ @@ -3155,8 +3152,6 @@ pl330_probe(struct amba_device *adev, const struct amba_id *id) } } - adev->dev.dma_parms = &pl330->dma_parms; - /* * This is the limit for transfers with a buswidth of 1, larger * buswidths will have larger limits. |