From: Denis Rastyogin Date: Tue, 17 Dec 2024 15:05:39 +0000 (+0000) Subject: target/arm: remove redundant code X-Git-Tag: pull-vmclock-20250108~18^2~18 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=30c78658aa056ae5d3995b4680bcbba5fce2e092;p=users%2Fdwmw2%2Fqemu.git target/arm: remove redundant code This call is redundant as it only retrieves a value that is not used further. Found by Linux Verification Center (linuxtesting.org) with SVACE. Signed-off-by: Denis Rastyogin Reviewed-by: Richard Henderson Message-id: 20241212120618.518369-1-gerben@altlinux.org Signed-off-by: Peter Maydell --- diff --git a/target/arm/vfp_helper.c b/target/arm/vfp_helper.c index 5a19af509c..df4ff46479 100644 --- a/target/arm/vfp_helper.c +++ b/target/arm/vfp_helper.c @@ -1099,8 +1099,6 @@ float64 HELPER(rintd)(float64 x, void *fp_status) ret = float64_round_to_int(x, fp_status); - new_flags = get_float_exception_flags(fp_status); - /* Suppress any inexact exceptions the conversion produced */ if (!(old_flags & float_flag_inexact)) { new_flags = get_float_exception_flags(fp_status);