diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2014-08-01 12:20:10 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-08-04 10:11:50 +0200 |
commit | 31c1e5a1350ae8d1bc2018f5de8264266d9773e1 (patch) | |
tree | 0980f83c03fdfb45c7b81fe782df55ffbe8c7d90 /drivers/dma/at_hdmac.c | |
parent | dmaengine: nbpfaxi: convert to tasklet (diff) | |
download | linux-31c1e5a1350ae8d1bc2018f5de8264266d9773e1.tar.xz linux-31c1e5a1350ae8d1bc2018f5de8264266d9773e1.zip |
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/at_hdmac.c')
-rw-r--r-- | drivers/dma/at_hdmac.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index c13a3bb0f594..d20ab1b73a3a 100644 --- a/drivers/dma/at_hdmac.c +++ b/drivers/dma/at_hdmac.c @@ -893,12 +893,11 @@ atc_dma_cyclic_fill_desc(struct dma_chan *chan, struct at_desc *desc, * @period_len: number of bytes for each period * @direction: transfer direction, to or from device * @flags: tx descriptor status flags - * @context: transfer context (ignored) */ static struct dma_async_tx_descriptor * atc_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, size_t period_len, enum dma_transfer_direction direction, - unsigned long flags, void *context) + unsigned long flags) { struct at_dma_chan *atchan = to_at_dma_chan(chan); struct at_dma_slave *atslave = chan->private; |