summaryrefslogtreecommitdiff
path: root/arch/mips/math-emu/dp_cmp.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-04-25 05:19:57 +0400
committerRalf Baechle <ralf@linux-mips.org>2014-05-23 17:11:14 +0400
commit90efba36ed50933c6df92805bd7e5742e9cc0f46 (patch)
treeedcf824726a76c68e7606954ea16fbcbc91a4f27 /arch/mips/math-emu/dp_cmp.c
parent593d33fe334761853890f2f84ed41e7c24051de2 (diff)
downloadlinux-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_cmp.c')
-rw-r--r--arch/mips/math-emu/dp_cmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/math-emu/dp_cmp.c b/arch/mips/math-emu/dp_cmp.c
index 2d9390ecf60d..fe573cb6f77f 100644
--- a/arch/mips/math-emu/dp_cmp.c
+++ b/arch/mips/math-emu/dp_cmp.c
@@ -44,7 +44,7 @@ int ieee754dp_cmp(union ieee754dp x, union ieee754dp y, int cmp, int sig)
return 1;
if (cmp & (IEEE754_CLT | IEEE754_CGT)) {
if (sig && ieee754_setandtestcx(IEEE754_INVALID_OPERATION))
- return ieee754di_xcpt(0, "fcmpf", x);
+ return 0;
}
return 0;
} else {