summaryrefslogtreecommitdiff
path: root/arch/mips/math-emu/sp_fint.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-04-25 00:29:50 +0200
committerRalf Baechle <ralf@linux-mips.org>2014-05-23 15:11:14 +0200
commitdfbf42b844a5f307bd66716da65f01be9107bc0b (patch)
tree99da96f3c2faeb7ec202c681fe98d3a1f8f8ce40 /arch/mips/math-emu/sp_fint.c
parent1bc3320d954183031bd3dc1dac36858c3c96e0b3 (diff)
MIPS: math-emu: Remove unused code.
Shrinks the FPU emulator by 4528 bytes. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/sp_fint.c')
-rw-r--r--arch/mips/math-emu/sp_fint.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/mips/math-emu/sp_fint.c b/arch/mips/math-emu/sp_fint.c
index 9574d25f6122..0d01200793d1 100644
--- a/arch/mips/math-emu/sp_fint.c
+++ b/arch/mips/math-emu/sp_fint.c
@@ -68,12 +68,3 @@ union ieee754sp ieee754sp_fint(int x)
}
SPNORMRET1(xs, xe, xm, "fint", x);
}
-
-
-union ieee754sp ieee754sp_funs(unsigned int u)
-{
- if ((int) u < 0)
- return ieee754sp_add(ieee754sp_1e31(),
- ieee754sp_fint(u & ~(1 << 31)));
- return ieee754sp_fint(u);
-}