Commit 8bf91457 authored by Vinod Koul's avatar Vinod Koul
Browse files

dmaengine: mmp_tdma: drop unused variable 'of_id'



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

Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Fixes: a67ba97d ("dmaengine: Use device_get_match_data()")
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20231010065729.29385-1-vkoul@kernel.org


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 9f895354
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;