diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2012-09-06 13:18:35 +0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-12-13 21:15:28 +0400 |
commit | ae1242a546704dfd5c35f26cc1bf401b0aac9c70 (patch) | |
tree | 91f0a2db02270e56a3498f88d6f4a65d20072a99 /arch/mips/wrppmc | |
parent | 686957e71d34beffe2b29cf5fb2e05025972020b (diff) | |
download | linux-ae1242a546704dfd5c35f26cc1bf401b0aac9c70.tar.xz |
MIPS: PowerTV: Fix build.
CC arch/mips/powertv/init.o
/home/ralf/src/linux/linux-mips/arch/mips/powertv/init.c: In function ‘mips_nmi_setup’:
/home/ralf/src/linux/linux-mips/arch/mips/powertv/init.c:80:8: error: variable ‘base’ set but not used [-Werror=unused-but-set-variable]
/home/ralf/src/linux/linux-mips/arch/mips/powertv/init.c: In function ‘mips_ejtag_setup’:
/home/ralf/src/linux/linux-mips/arch/mips/powertv/init.c:94:8: error: variable ‘base’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
As these two functions are, they don't serve any useful purpose so I've
deleted them entirely.
This warning exists in gcc 4.6.0 and newer. Kernels 2.6.40 and newer use
-Wunused-but-set-variable to suppress it.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/wrppmc')
0 files changed, 0 insertions, 0 deletions