]> git.proxmox.com Git - mirror_qemu.git/blobdiff - target-i386/fpu_helper.c
coccinelle: Remove unnecessary variables for function return value
[mirror_qemu.git] / target-i386 / fpu_helper.c
index 206e60fdf5f647f868de64dae9b095a8a2386aef..929489bfc81f2fd747a43f554c1cafbc21df51d6 100644 (file)
@@ -298,18 +298,12 @@ int32_t helper_fistt_ST0(CPUX86State *env)
 
 int32_t helper_fisttl_ST0(CPUX86State *env)
 {
-    int32_t val;
-
-    val = floatx80_to_int32_round_to_zero(ST0, &env->fp_status);
-    return val;
+    return floatx80_to_int32_round_to_zero(ST0, &env->fp_status);
 }
 
 int64_t helper_fisttll_ST0(CPUX86State *env)
 {
-    int64_t val;
-
-    val = floatx80_to_int64_round_to_zero(ST0, &env->fp_status);
-    return val;
+    return floatx80_to_int64_round_to_zero(ST0, &env->fp_status);
 }
 
 void helper_fldt_ST0(CPUX86State *env, target_ulong ptr)