Skip to contentSkip to conversation

dmaengine: mmp_tdma: drop unused variable 'of_id'

PATCH Applied Vinod Koul 1 participant 2 messages Oct 10, 2023 dmaengine

lore
Share & tools
lore

Vinod Koul

author maintainer
#0 lore raw

PATCH 1/1 dmaengine: mmp_tdma: drop unused variable 'of_id'

Recent change a67ba97dfb30 ("dmaengine: Use device_get_match_data()") cleaned up device tree data calls but left an unused variable, so drop that

Fixes a67ba97dfb30 ("dmaengine: Use device_get_match_data()")
---
 drivers/dma/mmp_tdma.c | 1 -
 1 file changed, 1 deletion(-)
drivers/dma/mmp_tdma.c +0 -1
index 9fff54b12db7..b76fe99e1151 100644
@@ -635,7 +635,6 @@ MODULE_DEVICE_TABLE(of, mmp_tdma_dt_ids);
 static int mmp_tdma_probe(struct platform_device *pdev)
 {
 	enum mmp_tdma_type type;
-	const struct of_device_id *of_id;
 	struct mmp_tdma_device *tdev;
 	int i, ret;
 	int irq = 0, irq_num = 0;
Signature · 1 line
2.41.0
author maintainer Applied
#1 lore raw
Quoted 5 lines · Vinod Koul

Recent change a67ba97dfb30 ("dmaengine: Use device_get_match_data()") cleaned up device tree data calls but left an unused variable, so drop that

Applied, thanks!

[1/1] dmaengine: mmp_tdma: drop unused variable 'of_id'

      commit: 8bf914570650ec5858e18554d70d2838cef01de1

Best regards,

Signature · 1 line
~Vinod