From: Yue Haibing Date: Wed, 9 Aug 2023 08:00:12 +0000 (+0800) Subject: dmaengine: Remove unused declaration dma_chan_cleanup() X-Git-Tag: v6.7-rc1~73^2~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=09361abc346102c505657db4f3ae19ed70e1b703;p=thirdparty%2Fkernel%2Flinux.git dmaengine: Remove unused declaration dma_chan_cleanup() Commit f27c580c3628 ("dmaengine: remove 'bigref' infrastructure") removed the implementation but left declaration in place. Remove it. Signed-off-by: Yue Haibing Reviewed-by: Andy Shevchenko Link: https://lore.kernel.org/r/20230809080012.22000-1-yuehaibing@huawei.com Signed-off-by: Vinod Koul --- diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index c3656e5902131..3df70d6131c8f 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -517,8 +517,6 @@ static inline const char *dma_chan_name(struct dma_chan *chan) return dev_name(&chan->dev->device); } -void dma_chan_cleanup(struct kref *kref); - /** * typedef dma_filter_fn - callback filter for dma_request_channel * @chan: channel to be reviewed