Skip to content

Commit

Permalink
dma: mv_xor: remove unused to_mv_xor_device() macro
Browse files Browse the repository at this point in the history
The to_mv_xor_device() macro is not being used by the driver, so we
can 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 8b5c3f6 commit 01a9508
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/dma/mv_xor.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ static void mv_xor_issue_pending(struct dma_chan *chan);
#define to_mv_xor_chan(chan) \
container_of(chan, struct mv_xor_chan, common)

#define to_mv_xor_device(dev) \
container_of(dev, struct mv_xor_device, common)

#define to_mv_xor_slot(tx) \
container_of(tx, struct mv_xor_desc_slot, async_tx)

Expand Down

0 comments on commit 01a9508

Please sign in to comment.