Skip to content

Commit

Permalink
dma: mv_xor: remove useless backpointer from mv_xor_chan to mv_xor_de…
Browse files Browse the repository at this point in the history
…vice

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>
  • Loading branch information
Thomas Petazzoni committed Nov 20, 2012
1 parent 297eedb commit c819ce1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/dma/mv_xor.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
1 change: 0 additions & 1 deletion drivers/dma/mv_xor.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c819ce1

Please sign in to comment.