summaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/sp_cmp.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-04-25 03:19:57 +0200
committerRalf Baechle <ralf@linux-mips.org>2014-05-23 15:11:14 +0200
commit90efba36ed50933c6df92805bd7e5742e9cc0f46 (patch)
treeedcf824726a76c68e7606954ea16fbcbc91a4f27 /arch/mips/math-emu/sp_cmp.c
parentMIPS: math-emu: Move various objects into an ar library. (diff)
downloadlinux-90efba36ed50933c6df92805bd7e5742e9cc0f46.tar.xz
linux-90efba36ed50933c6df92805bd7e5742e9cc0f46.zip
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/sp_cmp.c')
-rw-r--r--arch/mips/math-emu/sp_cmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/math-emu/sp_cmp.c b/arch/mips/math-emu/sp_cmp.c
index adf30766ecab..fab49887a1b8 100644
--- a/arch/mips/math-emu/sp_cmp.c
+++ b/arch/mips/math-emu/sp_cmp.c
@@ -44,7 +44,7 @@ int ieee754sp_cmp(union ieee754sp x, union ieee754sp y, int cmp, int sig)
return 1;
if (cmp & (IEEE754_CLT | IEEE754_CGT)) {
if (sig && ieee754_setandtestcx(IEEE754_INVALID_OPERATION))
- return ieee754si_xcpt(0, "fcmpf", x);
+ return 0;
}
return 0;
} else {