summaryrefslogtreecommitdiff
path: root/arch/mips/fw/arc/memory.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2019-10-04 20:41:02 +0300
committerPaul Burton <paul.burton@mips.com>2019-10-04 21:46:22 +0300
commit6822c29ddbbdeafd8d1b79ebe6c51b83efd55ae1 (patch)
treed562418556b4ba0ffc4d6fe564cd1f988c7a418d /arch/mips/fw/arc/memory.c
parent437450cf09c382ff26c14c868d3a1e82c269be12 (diff)
downloadlinux-6822c29ddbbdeafd8d1b79ebe6c51b83efd55ae1.tar.xz
MIPS: fw/arc: Remove unused addr variable
The addr variable in prom_free_prom_memory() has been unused since commit 0df1007677d5 ("MIPS: fw: Record prom memory"), leading to a compiler warning: arch/mips/fw/arc/memory.c:163:16: warning: unused variable 'addr' [-Wunused-variable] Fix this by removing the unused variable. Signed-off-by: Paul Burton <paul.burton@mips.com> Fixes: 0df1007677d5 ("MIPS: fw: Record prom memory") Cc: Jiaxun Yang <jiaxun.yang@flygoat.com> Cc: linux-mips@vger.kernel.org
Diffstat (limited to 'arch/mips/fw/arc/memory.c')
-rw-r--r--arch/mips/fw/arc/memory.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/fw/arc/memory.c b/arch/mips/fw/arc/memory.c
index af44b35d79a1..b4328b3b5288 100644
--- a/arch/mips/fw/arc/memory.c
+++ b/arch/mips/fw/arc/memory.c
@@ -160,7 +160,6 @@ void __init prom_meminit(void)
void __init prom_free_prom_memory(void)
{
- unsigned long addr;
int i;
if (prom_flags & PROM_FLAG_DONT_FREE_TEMP)