diff mbox

[6/6] tests/tcg/test-i386-fprem.c: compilation fix for -Werror=unused-const-variable=

Message ID 20170802201512.29142-7-crosa@redhat.com
State New
Headers show

Commit Message

Cleber Rosa Aug. 2, 2017, 8:15 p.m. UTC
A clean up of unused code to make the compiler happy.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
 tests/tcg/test-i386-fprem.c | 15 ---------------
 1 file changed, 15 deletions(-)
diff mbox

Patch

diff --git a/tests/tcg/test-i386-fprem.c b/tests/tcg/test-i386-fprem.c
index f70363d..1dceda0 100644
--- a/tests/tcg/test-i386-fprem.c
+++ b/tests/tcg/test-i386-fprem.c
@@ -54,14 +54,6 @@  union float80u {
 
 #define IEEE854_LONG_DOUBLE_BIAS 0x3fff
 
-static const union float80u q_nan = {
-    .ieee_nan.negative = 0,  /* X */
-    .ieee_nan.exponent = 0x7fff,
-    .ieee_nan.one = 1,
-    .ieee_nan.quiet_nan = 1,
-    .ieee_nan.mantissa = 0,
-};
-
 static const union float80u s_nan = {
     .ieee_nan.negative = 0,  /* X */
     .ieee_nan.exponent = 0x7fff,
@@ -91,13 +83,6 @@  static const union float80u pos_denorm = {
     .ieee.mantissa = 1,
 };
 
-static const union float80u smallest_positive_norm = {
-    .ieee.negative = 0,
-    .ieee.exponent = 1,
-    .ieee.one = 1,
-    .ieee.mantissa = 0,
-};
-
 static void fninit(void)
 {
     asm volatile ("fninit\n");