summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/math-emu/fsubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/math-emu/fsubs.c')
-rw-r--r--arch/sparc64/math-emu/fsubs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc64/math-emu/fsubs.c b/arch/sparc64/math-emu/fsubs.c
index d060f095a..ff8fa12b1 100644
--- a/arch/sparc64/math-emu/fsubs.c
+++ b/arch/sparc64/math-emu/fsubs.c
@@ -10,6 +10,5 @@ int FSUBS(void *rd, void *rs2, void *rs1)
if (B_c != FP_CLS_NAN)
B_s ^= 1;
FP_ADD_S(R, A, B);
- __FP_PACK_S(rd, R);
- return 1;
+ return __FP_PACK_S(rd, R);
}