提交 c819ce17 编写于 作者: T Thomas Petazzoni

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: NThomas Petazzoni <thomas.petazzoni@free-electrons.com>
上级 297eedba
......@@ -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);
......
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册