Skip to content

Commit 437450c

Browse files
committed
MIPS: pmcs-msp71xx: Remove unused addr variable
The addr variable in prom_free_prom_memory() has been unused since commit b3c948e ("MIPS: msp: Record prom memory"), causing a warning & build failure due to -Werror. Remove the unused variable. Signed-off-by: Paul Burton <[email protected]> Fixes: b3c948e ("MIPS: msp: Record prom memory") Cc: Jiaxun Yang <[email protected]> Cc: [email protected]
1 parent 101c40e commit 437450c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/mips/pmcs-msp71xx/msp_prom.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,6 @@ void __init prom_free_prom_memory(void)
378378
char *ptr;
379379
int len = 0;
380380
int i;
381-
unsigned long addr;
382381

383382
/*
384383
* preserve environment variables and command line from pmon/bbload

0 commit comments

Comments
 (0)