Commit 437450cf authored by Paul Burton's avatar Paul Burton

MIPS: pmcs-msp71xx: Remove unused addr variable

The addr variable in prom_free_prom_memory() has been unused since
commit b3c948e2 ("MIPS: msp: Record prom memory"), causing a warning
& build failure due to -Werror. Remove the unused variable.
Signed-off-by: default avatarPaul Burton <paul.burton@mips.com>
Fixes: b3c948e2 ("MIPS: msp: Record prom memory")
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: linux-mips@vger.kernel.org
parent 101c40ed
...@@ -378,7 +378,6 @@ void __init prom_free_prom_memory(void) ...@@ -378,7 +378,6 @@ void __init prom_free_prom_memory(void)
char *ptr; char *ptr;
int len = 0; int len = 0;
int i; int i;
unsigned long addr;
/* /*
* preserve environment variables and command line from pmon/bbload * preserve environment variables and command line from pmon/bbload
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment