MIPS: pmcs-msp71xx: Remove unused addr variable
authorPaul Burton <paul.burton@mips.com>
Thu, 3 Oct 2019 22:46:36 +0000 (22:46 +0000)
committerPaul Burton <paul.burton@mips.com>
Thu, 3 Oct 2019 22:47:17 +0000 (15:47 -0700)
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
arch/mips/pmcs-msp71xx/msp_prom.c

index f87c522..800a21b 100644 (file)
@@ -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