[PULL 7/7] target/hexagon: Remove unused is_finite()

Brian Cain posted 7 patches 1 month, 4 weeks ago
Maintainers: Brian Cain <brian.cain@oss.qualcomm.com>, Laurent Vivier <laurent@vivier.eu>, Pierrick Bouvier <pierrick.bouvier@linaro.org>
There is a newer version of this series
[PULL 7/7] target/hexagon: Remove unused is_finite()
Posted by Brian Cain 1 month, 4 weeks ago
From: Marco Liebel <marco.liebel@oss.qualcomm.com>

is_finite() is defined but never called anywhere in the codebase.

Signed-off-by: Marco Liebel <marco.liebel@oss.qualcomm.com>
Reviewed-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Brian Cain <brian.cain@oss.qualcomm.com>
Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
---
 target/hexagon/fma_emu.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/target/hexagon/fma_emu.h b/target/hexagon/fma_emu.h
index fed054b609..910530fff8 100644
--- a/target/hexagon/fma_emu.h
+++ b/target/hexagon/fma_emu.h
@@ -18,11 +18,6 @@
 #ifndef HEXAGON_FMA_EMU_H
 #define HEXAGON_FMA_EMU_H
 
-static inline bool is_finite(float64 x)
-{
-    return !float64_is_any_nan(x) && !float64_is_infinity(x);
-}
-
 int32_t float64_getexp(float64 f64);
 static inline uint32_t float32_getexp_raw(float32 f32)
 {
-- 
2.34.1