diff options
author | Paul Burton <paul.burton@mips.com> | 2019-10-03 22:46:36 +0000 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-10-03 15:47:17 -0700 |
commit | 437450cf09c382ff26c14c868d3a1e82c269be12 (patch) | |
tree | 5d5d3962894628620257761bd0509b20b87f0b09 /arch | |
parent | 101c40ed269ccf67d3535bf2d131584008edbbd1 (diff) |
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
Diffstat (limited to 'arch')
-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 |