MIPS: Loongson: Fix GCC 2.6.0 build error.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 29 Mar 2011 10:32:55 +0000 (12:32 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 10 May 2011 17:15:23 +0000 (18:15 +0100)
commitc87444af6fc853dd5571a830efff7e07c46a544e
tree8692b282ade629b8d2c485b67f3241a6dcc335d2
parent84d3b0dbac103fc1b3aff1e71cb723b5456a849c
MIPS: Loongson: Fix GCC 2.6.0 build error.

  CC      arch/mips/loongson/common/env.o
arch/mips/loongson/common/env.c: In function 'prom_init_env':
arch/mips/loongson/common/env.c:50:12: error: variable 'ret' set but not used [-Werror=unused-but-set-variable]
arch/mips/loongson/common/env.c:51:12: error: variable 'ret' set but not used [-Werror=unused-but-set-variable]
arch/mips/loongson/common/env.c:52:12: error: variable 'ret' set but not used [-Werror=unused-but-set-variable]
arch/mips/loongson/common/env.c:53:12: error: variable 'ret' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/loongson/common/env.c