Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7cbafa09 authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Vinod Koul
Browse files

dmaengine: mv_xor: remove mv_xor_chan->current_type field



Since commit 3e4f52e2 ("dma: mv_xor: Simplify the DMA_MEMCPY
operation"), this field is no longer used, so get rid of it.

Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 9406de3e
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -169,7 +169,6 @@ static void mv_chan_set_mode(struct mv_xor_chan *chan,
#endif
#endif


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


static void mv_chan_set_mode_to_desc(struct mv_xor_chan *chan)
static void mv_chan_set_mode_to_desc(struct mv_xor_chan *chan)
+0 −1
Original line number Original line Diff line number Diff line
@@ -110,7 +110,6 @@ struct mv_xor_chan {
	void __iomem		*mmr_high_base;
	void __iomem		*mmr_high_base;
	unsigned int		idx;
	unsigned int		idx;
	int                     irq;
	int                     irq;
	enum dma_transaction_type	current_type;
	struct list_head	chain;
	struct list_head	chain;
	struct list_head	free_slots;
	struct list_head	free_slots;
	struct list_head	allocated_slots;
	struct list_head	allocated_slots;