Skip to content

Commit

Permalink
MIPS: pmcs-msp71xx: Remove unused addr variable
Browse files Browse the repository at this point in the history
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 <paul.burton@mips.com>
Fixes: b3c948e ("MIPS: msp: Record prom memory")
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: linux-mips@vger.kernel.org
  • Loading branch information
Paul Burton committed Oct 3, 2019
1 parent 101c40e commit 437450c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/mips/pmcs-msp71xx/msp_prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 437450c

Please sign in to comment.