MIPS: Fix GCC-4.6 'set but not used' warning in ieee754int.h
authorDavid Daney <ddaney@caviumnetworks.com>
Mon, 24 Jan 2011 22:51:36 +0000 (14:51 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 14 Mar 2011 20:07:26 +0000 (21:07 +0100)
commit91b51f30084911754aed004bd3792f71f7bf0843
treef44e09bcf3d725f384062abdece7b913f267d19a
parent7a6e4ca1eea8dc364f60ac55884f450a132cd100
MIPS: Fix GCC-4.6 'set but not used' warning in ieee754int.h

GCC-4.6 can find more unused code than previous versions could.

In the case of arch/mips/math-emu/ieee754int.h, the COMPXSP and
COMPXDP macros are used in several places, but a couple of them leave
xs unused.  The easiest thing to do is mark it as __maybe_unused to
quiet the warning.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2032/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/ieee754int.h