summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/math-emu/fdtoq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/math-emu/fdtoq.c')
-rw-r--r--arch/sparc64/math-emu/fdtoq.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc64/math-emu/fdtoq.c b/arch/sparc64/math-emu/fdtoq.c
index 42e4009c6..b37b31198 100644
--- a/arch/sparc64/math-emu/fdtoq.c
+++ b/arch/sparc64/math-emu/fdtoq.c
@@ -8,6 +8,5 @@ int FDTOQ(void *rd, void *rs2)
__FP_UNPACK_D(A, rs2);
FP_CONV(Q,D,2,1,R,A);
- __FP_PACK_Q(rd, R);
- return 1;
+ return __FP_PACK_Q(rd, R);
}