]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
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 0065deaee24b58919940c7f7e464cb34c14f0503..a1962eb460f827f5d9dfc24dd0739159333d9a54 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 cb105b1dd860fcc37c1d1c5e19cc5ac3358913a4..eae90a866aa19e1bb60477f5ef98f828bf68a32c 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 42d9ed4b9a9463d65c97fdab2cb72605f5e8cfdb..7aac13afb09a6b2b706507611501da910337949d 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 1e26795ccecb7b0176f6ac757f6a39b54adf47ec..3d6c1d11c17889bfea252f2c78d4711e0f3049e4 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)