diff options
author | Paul Burton <paul.burton@mips.com> | 2019-10-04 00:46:36 +0200 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-10-04 00:47:17 +0200 |
commit | 437450cf09c382ff26c14c868d3a1e82c269be12 (patch) | |
tree | 5d5d3962894628620257761bd0509b20b87f0b09 | |
parent | MIPS: pmcs-msp71xx: Add missing MAX_PROM_MEM definition (diff) | |
download | linux-437450cf09c382ff26c14c868d3a1e82c269be12.tar.xz linux-437450cf09c382ff26c14c868d3a1e82c269be12.zip |
MIPS: pmcs-msp71xx: Remove unused addr variable
The addr variable in prom_free_prom_memory() has been unused since
commit b3c948e2c00f ("MIPS: msp: Record prom memory"), causing a warning
& build failure due to -Werror. Remove the unused variable.
Signed-off-by: Paul Burton <paul.burton@mips.com>
Fixes: b3c948e2c00f ("MIPS: msp: Record prom memory")
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: linux-mips@vger.kernel.org
-rw-r--r-- | arch/mips/pmcs-msp71xx/msp_prom.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/pmcs-msp71xx/msp_prom.c b/arch/mips/pmcs-msp71xx/msp_prom.c index f87c522a63e6..800a21b8b8b0 100644 --- a/arch/mips/pmcs-msp71xx/msp_prom.c +++ b/arch/mips/pmcs-msp71xx/msp_prom.c @@ -378,7 +378,6 @@ void __init prom_free_prom_memory(void) char *ptr; int len = 0; int i; - unsigned long addr; /* * preserve environment variables and command line from pmon/bbload |