Skip to content

Commit 8bf9145

Browse files
committed
dmaengine: mmp_tdma: drop unused variable 'of_id'
Recent change a67ba97 ("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: a67ba97 ("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>
1 parent 9f89535 commit 8bf9145

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/dma/mmp_tdma.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,6 @@ MODULE_DEVICE_TABLE(of, mmp_tdma_dt_ids);
635635
static int mmp_tdma_probe(struct platform_device *pdev)
636636
{
637637
enum mmp_tdma_type type;
638-
const struct of_device_id *of_id;
639638
struct mmp_tdma_device *tdev;
640639
int i, ret;
641640
int irq = 0, irq_num = 0;

0 commit comments

Comments
 (0)