]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dmaengine: mv_xor: remove mv_xor_chan->current_type field
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 22 Dec 2015 10:43:27 +0000 (11:43 +0100)
committerVinod Koul <vinod.koul@intel.com>
Wed, 6 Jan 2016 10:12:26 +0000 (15:42 +0530)
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>
drivers/dma/mv_xor.c
drivers/dma/mv_xor.h

index 1c2de9a834a9cabfb0cced0c87c4d5a9c0e2bc00..2d033790ea2ddcae5dbbbd795889c3d4b5d11047 100644 (file)
@@ -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)
index b7455b42137b937917fa5a90d3e39ae6965ad022..34389146bf1368dd8e09a11003b80e61de861a44 100644 (file)
@@ -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;