Selaa lähdekoodia

Delete unused ieee754_cname[] and declaration.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Ralf Baechle 19 vuotta sitten
vanhempi
commit
3c5c8f6748
2 muutettua tiedostoa jossa 0 lisäystä ja 11 poistoa
  1. 0 10
      arch/mips/math-emu/ieee754.c
  2. 0 1
      arch/mips/math-emu/ieee754.h

+ 0 - 10
arch/mips/math-emu/ieee754.c

@@ -42,16 +42,6 @@
 #define SP_EMIN		(-126)
 #define SP_EMAX		127
 
-/* indexed by class */
-const char *const ieee754_cname[] = {
-	"Normal",
-	"Zero",
-	"Denormal",
-	"Infinity",
-	"QNaN",
-	"SNaN",
-};
-
 /* special constants
 */
 

+ 0 - 1
arch/mips/math-emu/ieee754.h

@@ -205,7 +205,6 @@ ieee754dp ieee754dp_sqrt(ieee754dp x);
 #define IEEE754_CLASS_INF	0x03
 #define IEEE754_CLASS_SNAN	0x04
 #define IEEE754_CLASS_QNAN	0x05
-extern const char *const ieee754_cname[];
 
 /* exception numbers */
 #define IEEE754_INEXACT			0x01