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

Commit d7fb0300 authored by Olof Johansson's avatar Olof Johansson Committed by Dan Williams
Browse files

dmaengine: at_hdmac: remove unused function



commit 54f8d501 ('dmaengine: remove DMA unmap from drivers')
refactored some code which resulted in an unused function in the at_hdmac
driver:

drivers/dma/at_hdmac_regs.h:350:23: warning: 'chan2parent' defined but
    not used [-Wunused-function]

Fixes: 54f8d501 ('dmaengine: remove DMA unmap from drivers')
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: default avatarVinod Koul <vinod.koul@Intel.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent f984841b
Loading
Loading
Loading
Loading
+0 −4
Original line number Original line Diff line number Diff line
@@ -347,10 +347,6 @@ static struct device *chan2dev(struct dma_chan *chan)
{
{
	return &chan->dev->device;
	return &chan->dev->device;
}
}
static struct device *chan2parent(struct dma_chan *chan)
{
	return chan->dev->device.parent;
}


#if defined(VERBOSE_DEBUG)
#if defined(VERBOSE_DEBUG)
static void vdbg_dump_regs(struct at_dma_chan *atchan)
static void vdbg_dump_regs(struct at_dma_chan *atchan)