]> git.karo-electronics.de Git - linux-beck.git/commitdiff
dma: mv_xor: remove useless backpointer from mv_xor_chan to mv_xor_device
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 15 Nov 2012 14:32:24 +0000 (15:32 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 20 Nov 2012 14:58:59 +0000 (15:58 +0100)
The backpointer from mv_xor_chan to mv_xor_device is now useless, get
rid of it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
drivers/dma/mv_xor.c
drivers/dma/mv_xor.h

index aec771917d54c2c5b86d7a8de9078c801e39cd2d..a6a5a28574c451b2c698005f2d845fe5572f7090 100644 (file)
@@ -1118,7 +1118,6 @@ mv_xor_channel_add(struct mv_xor_device *xordev,
 
        /* discover transaction capabilites from the platform data */
        dma_dev->cap_mask = cap_mask;
-       mv_chan->shared = xordev;
 
        INIT_LIST_HEAD(&dma_dev->channels);
 
index cedeaa04f23877e33f97a405698fdb8b6c336d0d..dab9f30e564afb901446acc24ffc7faad7ae9e7a 100644 (file)
@@ -87,7 +87,6 @@ struct mv_xor_chan {
        void                    *dma_desc_pool_virt;
        size_t                  pool_size;
        struct dma_device       dmadev;
-       struct mv_xor_device    *shared;
        struct dma_chan         dmachan;
        struct mv_xor_desc_slot *last_used;
        struct list_head        all_slots;