From: Thomas Petazzoni Date: Thu, 15 Nov 2012 12:01:34 +0000 (+0100) Subject: dma: mv_xor: remove unused to_mv_xor_device() macro X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=01a9508de746bc2ae37dc63b407f2d7cdcb00386;p=linux-beck.git 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 --- 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)