]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: c-r4k: Fix GCC 4.6.0 build error
authorRalf Baechle <ralf@linux-mips.org>
Tue, 29 Mar 2011 08:50:38 +0000 (10:50 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 10 May 2011 17:15:22 +0000 (18:15 +0100)
commit978a12323878844ae43283db26f1af06fa1d7f75
tree3a520edc32df6024158e7441a45003404a87f402
parentbc2d509dd1ca4c85874382e3b0b2748cbb3f1169
MIPS: c-r4k: Fix GCC 4.6.0 build error

  CC      arch/mips/mm/c-r4k.o
arch/mips/mm/c-r4k.c: In function 'probe_scache':
arch/mips/mm/c-r4k.c:1078:6: error: variable 'tmp' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

Older GCC versions didn't warn about the unused variable tmp because it was
getting initialized.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/c-r4k.c