diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2014-04-25 05:19:57 +0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-05-23 17:11:14 +0400 |
commit | 90efba36ed50933c6df92805bd7e5742e9cc0f46 (patch) | |
tree | edcf824726a76c68e7606954ea16fbcbc91a4f27 /arch/mips/math-emu/dp_fsp.c | |
parent | 593d33fe334761853890f2f84ed41e7c24051de2 (diff) | |
download | linux-90efba36ed50933c6df92805bd7e5742e9cc0f46.tar.xz |
MIPS: math-emu: Get rid of the useless parts of exception handling.
All it really did was throw a printk for no obvious reason.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/dp_fsp.c')
-rw-r--r-- | arch/mips/math-emu/dp_fsp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/mips/math-emu/dp_fsp.c b/arch/mips/math-emu/dp_fsp.c index 67ee97f06268..ba600be69454 100644 --- a/arch/mips/math-emu/dp_fsp.c +++ b/arch/mips/math-emu/dp_fsp.c @@ -40,14 +40,13 @@ union ieee754dp ieee754dp_fsp(union ieee754sp x) switch (xc) { case IEEE754_CLASS_SNAN: ieee754_setcx(IEEE754_INVALID_OPERATION); - return ieee754dp_nanxcpt(ieee754dp_indef(), "fsp"); + return ieee754dp_nanxcpt(ieee754dp_indef()); case IEEE754_CLASS_QNAN: return ieee754dp_nanxcpt(builddp(xs, DP_EMAX + 1 + DP_EBIAS, ((u64) xm << (DP_FBITS - - SP_FBITS))), "fsp", - x); + SP_FBITS)))); case IEEE754_CLASS_INF: return ieee754dp_inf(xs); case IEEE754_CLASS_ZERO: |