Skip to content

Commit

Permalink
dmaengine: mmp_tdma: drop unused variable 'of_id'
Browse files Browse the repository at this point in the history
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 <[email protected]>
Fixes: a67ba97 ("dmaengine: Use device_get_match_data()")
Signed-off-by: Vinod Koul <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
  • Loading branch information
vinodkoul committed Oct 10, 2023
1 parent 9f89535 commit 8bf9145
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/dma/mmp_tdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8bf9145

Please sign in to comment.