Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01a9508d authored by Thomas Petazzoni's avatar Thomas Petazzoni
Browse files

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: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 8b5c3f6c
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -36,9 +36,6 @@ static void mv_xor_issue_pending(struct dma_chan *chan);
#define to_mv_xor_chan(chan)		\
#define to_mv_xor_chan(chan)		\
	container_of(chan, struct mv_xor_chan, common)
	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)		\
#define to_mv_xor_slot(tx)		\
	container_of(tx, struct mv_xor_desc_slot, async_tx)
	container_of(tx, struct mv_xor_desc_slot, async_tx)