Skip to contentSkip to conversation

dmaengine: Remove unused define for dma_request_slave_channel_reason()

PATCH Applied Peter Ujfalusi 2 participants 2 messages Aug 28, 2020 dmaengine

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dmaengine: Remove unused define for dma_request_slave_channel_reason()

No users left in the kernel, it can be removed.

---
 include/linux/dmaengine.h | 2 --
 1 file changed, 2 deletions(-)
include/linux/dmaengine.h +0 -2
index 6fbd5c99e30c..011371b7f081 100644
@@ -1527,8 +1527,6 @@ static inline int dma_get_slave_caps(struct dma_chan *chan,
 }
 #endif
 
-#define dma_request_slave_channel_reason(dev, name) dma_request_chan(dev, name)
-
 static inline int dmaengine_desc_set_reuse(struct dma_async_tx_descriptor *tx)
 {
 	struct dma_slave_caps caps;
Signature · 4 lines
Peter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
maintainer Applied
#1 lore raw
Quoted 1 line · Peter Ujfalusi

No users left in the kernel, it can be removed.

Applied, thanks

Signature · 1 line
~Vinod