Skip to content

Commit

Permalink
dmaengine: mv_xor: remove mv_xor_chan->current_type field
Browse files Browse the repository at this point in the history
Since commit 3e4f52e ("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>
  • Loading branch information
Thomas Petazzoni authored and Vinod Koul committed Jan 6, 2016
1 parent 9406de3 commit 7cbafa0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/dma/mv_xor.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ static void mv_chan_set_mode(struct mv_xor_chan *chan,
#endif

writel_relaxed(config, XOR_CONFIG(chan));
chan->current_type = type;
}

static void mv_chan_set_mode_to_desc(struct mv_xor_chan *chan)
Expand Down
1 change: 0 additions & 1 deletion drivers/dma/mv_xor.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ struct mv_xor_chan {
void __iomem *mmr_high_base;
unsigned int idx;
int irq;
enum dma_transaction_type current_type;
struct list_head chain;
struct list_head free_slots;
struct list_head allocated_slots;
Expand Down

0 comments on commit 7cbafa0

Please sign in to comment.