]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dmaengine: mmp_tdma: drop unused variable 'of_id'
authorVinod Koul <vkoul@kernel.org>
Tue, 10 Oct 2023 06:57:29 +0000 (12:27 +0530)
committerVinod Koul <vkoul@kernel.org>
Tue, 10 Oct 2023 18:00:52 +0000 (23:30 +0530)
Recent change a67ba97dfb30 ("dmaengine: Use device_get_match_data()")
cleaned up device tree data calls but left an unused variable, so drop
that

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: a67ba97dfb30 ("dmaengine: Use device_get_match_data()")
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20231010065729.29385-1-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/mmp_tdma.c

index 9fff54b12db7a3ca9134241b0c858ce912f9e303..b76fe99e1151637ef92e3a2cecd3c5e7991c9d92 100644 (file)
@@ -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;