From 29d6e78f9b896e1aedc05743ce93c2fb272e7a49 Mon Sep 17 00:00:00 2001 From: Jon Hunter Date: Tue, 7 Oct 2025 16:34:46 +0100 Subject: [PATCH] NVIDIA: SAUCE: memory: Remove unused variable The variable 'intstat' is not used and so remove this. Bug 4655916 Change-Id: Iceceffef423e3fbec3f835c9879fd11778746956 Signed-off-by: Jon Hunter Reviewed-on: https://git-master.nvidia.com/r/c/3rdparty/canonical/linux-noble/+/3465067 (cherry picked from commit 1a819646504fe5788e348025d350a67bf478514e) Reviewed-on: https://git-master.nvidia.com/r/c/3rdparty/canonical/linux-noble/+/3469210 Reviewed-by: Brad Griffis GVS: buildbot_gerritrpt --- drivers/memory/tegra/mc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/memory/tegra/mc.c b/drivers/memory/tegra/mc.c index e41d31ab520a..c0fd97b4c4a6 100644 --- a/drivers/memory/tegra/mc.c +++ b/drivers/memory/tegra/mc.c @@ -987,8 +987,6 @@ static int tegra_mc_probe(struct platform_device *pdev) } if (mc->soc->has_chiplet_arch) { - unsigned long intstat; - /* Unmask MCF interrupts */ mc_ch_writel(mc, MC_BROADCAST_CHANNEL, mc->soc->mcf_intmask, MCF_INTMASK_0); mc_ch_writel(mc, MC_BROADCAST_CHANNEL, mc->soc->mcf_intmask, MCF_INTPRIORITY_0);