MIPS: FP: Remove silly trick to avoid warning.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 7 Dec 2005 18:04:40 +0000 (18:04 +0000)
committer <ralf@denk.linux-mips.net> <>
Tue, 10 Jan 2006 13:39:05 +0000 (13:39 +0000)
Just doesn't fool a modern compiler anymore.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/dp_fint.c
arch/mips/math-emu/dp_flong.c
arch/mips/math-emu/sp_fint.c
arch/mips/math-emu/sp_flong.c

index 0065dea..a1962eb 100644 (file)
@@ -33,8 +33,6 @@ ieee754dp ieee754dp_fint(int x)
 
        CLEARCX;
 
-       xc = ( 0 ? xc : xc );
-
        if (x == 0)
                return ieee754dp_zero(0);
        if (x == 1 || x == -1)
index cb105b1..eae90a8 100644 (file)
@@ -33,8 +33,6 @@ ieee754dp ieee754dp_flong(s64 x)
 
        CLEARCX;
 
-       xc = ( 0 ? xc : xc );
-
        if (x == 0)
                return ieee754dp_zero(0);
        if (x == 1 || x == -1)
index 42d9ed4..7aac13a 100644 (file)
@@ -33,8 +33,6 @@ ieee754sp ieee754sp_fint(int x)
 
        CLEARCX;
 
-       xc = ( 0 ? xc : xc );
-
        if (x == 0)
                return ieee754sp_zero(0);
        if (x == 1 || x == -1)
index 1e26795..3d6c1d1 100644 (file)
@@ -33,8 +33,6 @@ ieee754sp ieee754sp_flong(s64 x)
 
        CLEARCX;
 
-       xc = ( 0 ? xc : xc );
-
        if (x == 0)
                return ieee754sp_zero(0);
        if (x == 1 || x == -1)