diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-15 09:32:24 -0500 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-20 09:58:59 -0500 |
commit | c819ce177eb4dc796996618c1d53856cad1201ec (patch) | |
tree | 46cdf30d02463a5215de6b2dfb63a7af27f33552 /drivers/dma | |
parent | 297eedbae1677c8276df082fb17fb1344058fed0 (diff) |
dma: mv_xor: remove useless backpointer from mv_xor_chan to mv_xor_device
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>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/mv_xor.c | 1 | ||||
-rw-r--r-- | drivers/dma/mv_xor.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index aec771917d54..a6a5a28574c4 100644 --- a/drivers/dma/mv_xor.c +++ b/drivers/dma/mv_xor.c | |||
@@ -1118,7 +1118,6 @@ mv_xor_channel_add(struct mv_xor_device *xordev, | |||
1118 | 1118 | ||
1119 | /* discover transaction capabilites from the platform data */ | 1119 | /* discover transaction capabilites from the platform data */ |
1120 | dma_dev->cap_mask = cap_mask; | 1120 | dma_dev->cap_mask = cap_mask; |
1121 | mv_chan->shared = xordev; | ||
1122 | 1121 | ||
1123 | INIT_LIST_HEAD(&dma_dev->channels); | 1122 | INIT_LIST_HEAD(&dma_dev->channels); |
1124 | 1123 | ||
diff --git a/drivers/dma/mv_xor.h b/drivers/dma/mv_xor.h index cedeaa04f238..dab9f30e564a 100644 --- a/drivers/dma/mv_xor.h +++ b/drivers/dma/mv_xor.h | |||
@@ -87,7 +87,6 @@ struct mv_xor_chan { | |||
87 | void *dma_desc_pool_virt; | 87 | void *dma_desc_pool_virt; |
88 | size_t pool_size; | 88 | size_t pool_size; |
89 | struct dma_device dmadev; | 89 | struct dma_device dmadev; |
90 | struct mv_xor_device *shared; | ||
91 | struct dma_chan dmachan; | 90 | struct dma_chan dmachan; |
92 | struct mv_xor_desc_slot *last_used; | 91 | struct mv_xor_desc_slot *last_used; |
93 | struct list_head all_slots; | 92 | struct list_head all_slots; |