diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-15 13:01:34 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-20 15:58:58 +0100 |
commit | 01a9508de746bc2ae37dc63b407f2d7cdcb00386 (patch) | |
tree | 512f8aa260a0559c82087eab77678f36b91924e6 /drivers/dma/mv_xor.c | |
parent | 8b5c3f6c8d8300e7825bb5ed6effe0bd35907751 (diff) | |
download | talos-obmc-linux-01a9508de746bc2ae37dc63b407f2d7cdcb00386.tar.gz talos-obmc-linux-01a9508de746bc2ae37dc63b407f2d7cdcb00386.zip |
dma: mv_xor: remove unused to_mv_xor_device() macro
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>
Diffstat (limited to 'drivers/dma/mv_xor.c')
-rw-r--r-- | drivers/dma/mv_xor.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index 3a54213c1b5f..a9994713072e 100644 --- a/drivers/dma/mv_xor.c +++ b/drivers/dma/mv_xor.c @@ -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) |