Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 437450cf authored by Paul Burton's avatar Paul Burton
Browse files

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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