[v2,-next] dmaengine: Remove unused declaration dma_chan_cleanup()

Message ID 20230809080012.22000-1-yuehaibing@huawei.com
State New
Headers
Series [v2,-next] dmaengine: Remove unused declaration dma_chan_cleanup() |

Commit Message

Yue Haibing Aug. 9, 2023, 8 a.m. UTC
  Commit f27c580c3628 ("dmaengine: remove 'bigref' infrastructure")
removed the implementation but left declaration in place. Remove it.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
v2: revise commit log
---
 include/linux/dmaengine.h | 2 --
 1 file changed, 2 deletions(-)
  

Comments

Vinod Koul Oct. 4, 2023, 2:29 p.m. UTC | #1
On Wed, 09 Aug 2023 16:00:12 +0800, Yue Haibing wrote:
> Commit f27c580c3628 ("dmaengine: remove 'bigref' infrastructure")
> removed the implementation but left declaration in place. Remove it.
> 
> 

Applied, thanks!

[1/1] dmaengine: Remove unused declaration dma_chan_cleanup()
      commit: 09361abc346102c505657db4f3ae19ed70e1b703

Best regards,
  

Patch

diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index c3656e590213..3df70d6131c8 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