From: Dan Williams Date: Mon, 9 Dec 2013 19:16:03 +0000 (-0800) Subject: dma: fix build warnings in txx9 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8e5ee258d98a6643227d958361aec2a62559b804;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git dma: fix build warnings in txx9 The unmap rework missed this: drivers/dma/txx9dmac.c:409:25: warning: unused variable 'ds' [-Wunused-variable] Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Dan Williams --- diff --git a/drivers/dma/txx9dmac.c b/drivers/dma/txx9dmac.c index bae6c29f5502..17686caf64d5 100644 --- a/drivers/dma/txx9dmac.c +++ b/drivers/dma/txx9dmac.c @@ -406,7 +406,6 @@ txx9dmac_descriptor_complete(struct txx9dmac_chan *dc, dma_async_tx_callback callback; void *param; struct dma_async_tx_descriptor *txd = &desc->txd; - struct txx9dmac_slave *ds = dc->chan.private; dev_vdbg(chan2dev(&dc->chan), "descriptor %u %p complete\n", txd->cookie, desc);