diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2014-08-01 14:20:10 +0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-08-04 12:11:50 +0400 |
commit | 31c1e5a1350ae8d1bc2018f5de8264266d9773e1 (patch) | |
tree | 0980f83c03fdfb45c7b81fe782df55ffbe8c7d90 /drivers/dma/s3c24xx-dma.c | |
parent | f02323ec68328c3db3e3c23490cd80f9ce9c00fa (diff) | |
download | linux-31c1e5a1350ae8d1bc2018f5de8264266d9773e1.tar.xz |
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/s3c24xx-dma.c')
-rw-r--r-- | drivers/dma/s3c24xx-dma.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/dma/s3c24xx-dma.c b/drivers/dma/s3c24xx-dma.c index 012520c9fd79..7416572d1e40 100644 --- a/drivers/dma/s3c24xx-dma.c +++ b/drivers/dma/s3c24xx-dma.c @@ -889,8 +889,7 @@ static struct dma_async_tx_descriptor *s3c24xx_dma_prep_memcpy( static struct dma_async_tx_descriptor *s3c24xx_dma_prep_dma_cyclic( struct dma_chan *chan, dma_addr_t addr, size_t size, size_t period, - enum dma_transfer_direction direction, unsigned long flags, - void *context) + enum dma_transfer_direction direction, unsigned long flags) { struct s3c24xx_dma_chan *s3cchan = to_s3c24xx_dma_chan(chan); struct s3c24xx_dma_engine *s3cdma = s3cchan->host; |