diff options
| author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-12-22 05:43:27 -0500 |
|---|---|---|
| committer | Vinod Koul <vinod.koul@intel.com> | 2016-01-06 05:12:26 -0500 |
| commit | 7cbafa09e1cdedac707104fff659f90966a02da5 (patch) | |
| tree | c4b29ae65c21171068779a58c5611d26ec1fbabe | |
| parent | 9406de3e4362c379966dd114221e8159d9da5f32 (diff) | |
dmaengine: mv_xor: remove mv_xor_chan->current_type field
Since commit 3e4f52e2da9f6 ("dma: mv_xor: Simplify the DMA_MEMCPY
operation"), this field is no longer used, so get rid of it.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
| -rw-r--r-- | drivers/dma/mv_xor.c | 1 | ||||
| -rw-r--r-- | drivers/dma/mv_xor.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index 1c2de9a834a9..2d033790ea2d 100644 --- a/drivers/dma/mv_xor.c +++ b/drivers/dma/mv_xor.c | |||
| @@ -169,7 +169,6 @@ static void mv_chan_set_mode(struct mv_xor_chan *chan, | |||
| 169 | #endif | 169 | #endif |
| 170 | 170 | ||
| 171 | writel_relaxed(config, XOR_CONFIG(chan)); | 171 | writel_relaxed(config, XOR_CONFIG(chan)); |
| 172 | chan->current_type = type; | ||
| 173 | } | 172 | } |
| 174 | 173 | ||
| 175 | static void mv_chan_set_mode_to_desc(struct mv_xor_chan *chan) | 174 | static void mv_chan_set_mode_to_desc(struct mv_xor_chan *chan) |
diff --git a/drivers/dma/mv_xor.h b/drivers/dma/mv_xor.h index b7455b42137b..34389146bf13 100644 --- a/drivers/dma/mv_xor.h +++ b/drivers/dma/mv_xor.h | |||
| @@ -110,7 +110,6 @@ struct mv_xor_chan { | |||
| 110 | void __iomem *mmr_high_base; | 110 | void __iomem *mmr_high_base; |
| 111 | unsigned int idx; | 111 | unsigned int idx; |
| 112 | int irq; | 112 | int irq; |
| 113 | enum dma_transaction_type current_type; | ||
| 114 | struct list_head chain; | 113 | struct list_head chain; |
| 115 | struct list_head free_slots; | 114 | struct list_head free_slots; |
| 116 | struct list_head allocated_slots; | 115 | struct list_head allocated_slots; |
