]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: PowerTV: Fix build.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 6 Sep 2012 09:18:35 +0000 (11:18 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 13 Dec 2012 17:15:28 +0000 (18:15 +0100)
commitdcceb88ab3abbb6e856a7ab75875c7d3836d9c0e
tree91f0a2db02270e56a3498f88d6f4a65d20072a99
parente9932cbee3bfdf79b161c740641315da7e59ff0f
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>
arch/mips/powertv/init.c