projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f89535
)
dmaengine: mmp_tdma: drop unused variable 'of_id'
author
Vinod Koul
<vkoul@kernel.org>
Tue, 10 Oct 2023 06:57:29 +0000
(12:27 +0530)
committer
Vinod 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
patch
|
blob
|
history
diff --git
a/drivers/dma/mmp_tdma.c
b/drivers/dma/mmp_tdma.c
index
9fff54b
..
b76fe99
100644
(file)
--- a/
drivers/dma/mmp_tdma.c
+++ b/
drivers/dma/mmp_tdma.c
@@
-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;