aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/dma/mv_xor.c1
-rw-r--r--drivers/dma/mv_xor.h1
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
175static void mv_chan_set_mode_to_desc(struct mv_xor_chan *chan) 174static 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;