diff options
author | Denis Rastyogin <gerben@altlinux.org> | 2024-12-17 15:05:39 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2024-12-17 15:05:39 +0000 |
commit | 30c78658aa056ae5d3995b4680bcbba5fce2e092 (patch) | |
tree | 36334b7cb4af224cd45ad8a5dec86f29112dc7e0 | |
parent | 8032c78e556cd0baec111740a6c636863f9bd7c8 (diff) | |
download | qemu-30c78658aa056ae5d3995b4680bcbba5fce2e092.zip qemu-30c78658aa056ae5d3995b4680bcbba5fce2e092.tar.gz qemu-30c78658aa056ae5d3995b4680bcbba5fce2e092.tar.bz2 |
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 <gerben@altlinux.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20241212120618.518369-1-gerben@altlinux.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | target/arm/vfp_helper.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target/arm/vfp_helper.c b/target/arm/vfp_helper.c index 5a19af5..df4ff46 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); |