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/ep93xx_dma.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/ep93xx_dma.c')
-rw-r--r-- | drivers/dma/ep93xx_dma.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/dma/ep93xx_dma.c b/drivers/dma/ep93xx_dma.c index cb4bf682a708..7650470196c4 100644 --- a/drivers/dma/ep93xx_dma.c +++ b/drivers/dma/ep93xx_dma.c | |||
@@ -1092,7 +1092,6 @@ fail: | |||
1092 | * @period_len: length of a single period | 1092 | * @period_len: length of a single period |
1093 | * @dir: direction of the operation | 1093 | * @dir: direction of the operation |
1094 | * @flags: tx descriptor status flags | 1094 | * @flags: tx descriptor status flags |
1095 | * @context: operation context (ignored) | ||
1096 | * | 1095 | * |
1097 | * Prepares a descriptor for cyclic DMA operation. This means that once the | 1096 | * Prepares a descriptor for cyclic DMA operation. This means that once the |
1098 | * descriptor is submitted, we will be submitting in a @period_len sized | 1097 | * descriptor is submitted, we will be submitting in a @period_len sized |
@@ -1105,8 +1104,7 @@ fail: | |||
1105 | static struct dma_async_tx_descriptor * | 1104 | static struct dma_async_tx_descriptor * |
1106 | ep93xx_dma_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t dma_addr, | 1105 | ep93xx_dma_prep_dma_cyclic(struct dma_chan *chan, dma_addr_t dma_addr, |
1107 | size_t buf_len, size_t period_len, | 1106 | size_t buf_len, size_t period_len, |
1108 | enum dma_transfer_direction dir, unsigned long flags, | 1107 | enum dma_transfer_direction dir, unsigned long flags) |
1109 | void *context) | ||
1110 | { | 1108 | { |
1111 | struct ep93xx_dma_chan *edmac = to_ep93xx_dma_chan(chan); | 1109 | struct ep93xx_dma_chan *edmac = to_ep93xx_dma_chan(chan); |
1112 | struct ep93xx_dma_desc *desc, *first; | 1110 | struct ep93xx_dma_desc *desc, *first; |