diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2014-08-01 06:20:10 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-08-04 04:11:50 -0400 |
commit | 31c1e5a1350ae8d1bc2018f5de8264266d9773e1 (patch) | |
tree | 0980f83c03fdfb45c7b81fe782df55ffbe8c7d90 /drivers/dma/pl330.c | |
parent | f02323ec68328c3db3e3c23490cd80f9ce9c00fa (diff) |
dmaengine: Remove the context argument to the prep_dma_cyclic operation
The argument is always set to NULL and never used. Remove it.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/pl330.c')
-rw-r--r-- | drivers/dma/pl330.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index a55d75498098..d5149aacd2fe 100644 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c | |||
@@ -2362,7 +2362,7 @@ static inline int get_burst_len(struct dma_pl330_desc *desc, size_t len) | |||
2362 | static struct dma_async_tx_descriptor *pl330_prep_dma_cyclic( | 2362 | static struct dma_async_tx_descriptor *pl330_prep_dma_cyclic( |
2363 | struct dma_chan *chan, dma_addr_t dma_addr, size_t len, | 2363 | struct dma_chan *chan, dma_addr_t dma_addr, size_t len, |
2364 | size_t period_len, enum dma_transfer_direction direction, | 2364 | size_t period_len, enum dma_transfer_direction direction, |
2365 | unsigned long flags, void *context) | 2365 | unsigned long flags) |
2366 | { | 2366 | { |
2367 | struct dma_pl330_desc *desc = NULL, *first = NULL; | 2367 | struct dma_pl330_desc *desc = NULL, *first = NULL; |
2368 | struct dma_pl330_chan *pch = to_pchan(chan); | 2368 | struct dma_pl330_chan *pch = to_pchan(chan); |