summaryrefslogtreecommitdiffstats
path: root/arch/sparc/math-emu/fdtos.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/math-emu/fdtos.c')
-rw-r--r--arch/sparc/math-emu/fdtos.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc/math-emu/fdtos.c b/arch/sparc/math-emu/fdtos.c
index 83b8a14ed..612434c40 100644
--- a/arch/sparc/math-emu/fdtos.c
+++ b/arch/sparc/math-emu/fdtos.c
@@ -8,6 +8,5 @@ int FDTOS(void *rd, void *rs2)
__FP_UNPACK_D(A, rs2);
FP_CONV(S,D,1,2,R,A);
- __FP_PACK_S(rd, R);
- return 1;
+ return __FP_PACK_S(rd, R);
}