summaryrefslogtreecommitdiffstats
path: root/drivers/memory
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-07-24 09:40:36 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2020-07-24 16:18:32 +0200
commit6b16f369b62b85f3cf731a906b65c94ba3657a20 (patch)
tree8a872c4da5f6581010c2260fb9ca11db11edfee5 /drivers/memory
parenta269ff3433f30d63a6ef3c7fc25a2de4575fb9da (diff)
downloadlinux-6b16f369b62b85f3cf731a906b65c94ba3657a20.tar.bz2
memory: da8xx-ddrctl: Remove unused 'node' variable
The variable 'node' is not used. Remove it to silence compile warning: drivers/memory/da8xx-ddrctl.c: In function 'da8xx_ddrctl_probe': drivers/memory/da8xx-ddrctl.c:105:22: warning: variable 'node' set but not used [-Wunused-but-set-variable] Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'drivers/memory')
-rw-r--r--drivers/memory/da8xx-ddrctl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/memory/da8xx-ddrctl.c b/drivers/memory/da8xx-ddrctl.c
index e8f9b3f461f5..872addd0ec60 100644
--- a/drivers/memory/da8xx-ddrctl.c
+++ b/drivers/memory/da8xx-ddrctl.c
@@ -102,14 +102,12 @@ static int da8xx_ddrctl_probe(struct platform_device *pdev)
{
const struct da8xx_ddrctl_config_knob *knob;
const struct da8xx_ddrctl_setting *setting;
- struct device_node *node;
struct resource *res;
void __iomem *ddrctl;
struct device *dev;
u32 reg;
dev = &pdev->dev;
- node = dev->of_node;
setting = da8xx_ddrctl_get_board_settings();
if (!setting) {