Skip to content

Commit 6822c29

Browse files
committed
MIPS: fw/arc: Remove unused addr variable
The addr variable in prom_free_prom_memory() has been unused since commit 0df1007 ("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: 0df1007 ("MIPS: fw: Record prom memory") Cc: Jiaxun Yang <jiaxun.yang@flygoat.com> Cc: linux-mips@vger.kernel.org
1 parent 437450c commit 6822c29

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎arch/mips/fw/arc/memory.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ void __init prom_meminit(void)
160160

161161
void __init prom_free_prom_memory(void)
162162
{
163-
unsigned long addr;
164163
int i;
165164

166165
if (prom_flags & PROM_FLAG_DONT_FREE_TEMP)

0 commit comments

Comments
 (0)