diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2021-01-21 12:03:54 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-01-26 22:58:01 +0530 |
commit | e247f85a9bf6af9ce6bc36d86ac242f782ae0947 (patch) | |
tree | 04ab50338c5c012f92c915533bb5c2b235b1f504 /drivers/dma/mmp_pdma.c | |
parent | a033a74e8b66336fc2ea379842be6bcf176cbfbc (diff) |
dmaengine: mmp_pdma: Remove mmp_pdma_filter_fn()
It's not used anywhere -- drop it.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Link: https://lore.kernel.org/r/20210121110356.1768635-2-lkundrak@v3.sk
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/mmp_pdma.c')
-rw-r--r-- | drivers/dma/mmp_pdma.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c index b84303be8edf..89f1814ff27a 100644 --- a/drivers/dma/mmp_pdma.c +++ b/drivers/dma/mmp_pdma.c @@ -18,7 +18,6 @@ #include <linux/of_device.h> #include <linux/of_dma.h> #include <linux/of.h> -#include <linux/dma/mmp-pdma.h> #include "dmaengine.h" @@ -1148,19 +1147,6 @@ static struct platform_driver mmp_pdma_driver = { .remove = mmp_pdma_remove, }; -bool mmp_pdma_filter_fn(struct dma_chan *chan, void *param) -{ - struct mmp_pdma_chan *c = to_mmp_pdma_chan(chan); - - if (chan->device->dev->driver != &mmp_pdma_driver.driver) - return false; - - c->drcmr = *(unsigned int *)param; - - return true; -} -EXPORT_SYMBOL_GPL(mmp_pdma_filter_fn); - module_platform_driver(mmp_pdma_driver); MODULE_DESCRIPTION("MARVELL MMP Peripheral DMA Driver"); |