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 <[email protected]> Fixes: 0df1007 ("MIPS: fw: Record prom memory") Cc: Jiaxun Yang <[email protected]> Cc: [email protected]
1 parent 437450c commit 6822c29

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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)