提交 2d5e7b9f 编写于 作者: R Ralf Baechle 提交者:

MIPS: FP: Remove silly trick to avoid warning.

    
Just doesn't fool a modern compiler anymore.
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 26487957
...@@ -33,8 +33,6 @@ ieee754dp ieee754dp_fint(int x) ...@@ -33,8 +33,6 @@ ieee754dp ieee754dp_fint(int x)
CLEARCX; CLEARCX;
xc = ( 0 ? xc : xc );
if (x == 0) if (x == 0)
return ieee754dp_zero(0); return ieee754dp_zero(0);
if (x == 1 || x == -1) if (x == 1 || x == -1)
......
...@@ -33,8 +33,6 @@ ieee754dp ieee754dp_flong(s64 x) ...@@ -33,8 +33,6 @@ ieee754dp ieee754dp_flong(s64 x)
CLEARCX; CLEARCX;
xc = ( 0 ? xc : xc );
if (x == 0) if (x == 0)
return ieee754dp_zero(0); return ieee754dp_zero(0);
if (x == 1 || x == -1) if (x == 1 || x == -1)
......
...@@ -33,8 +33,6 @@ ieee754sp ieee754sp_fint(int x) ...@@ -33,8 +33,6 @@ ieee754sp ieee754sp_fint(int x)
CLEARCX; CLEARCX;
xc = ( 0 ? xc : xc );
if (x == 0) if (x == 0)
return ieee754sp_zero(0); return ieee754sp_zero(0);
if (x == 1 || x == -1) if (x == 1 || x == -1)
......
...@@ -33,8 +33,6 @@ ieee754sp ieee754sp_flong(s64 x) ...@@ -33,8 +33,6 @@ ieee754sp ieee754sp_flong(s64 x)
CLEARCX; CLEARCX;
xc = ( 0 ? xc : xc );
if (x == 0) if (x == 0)
return ieee754sp_zero(0); return ieee754sp_zero(0);
if (x == 1 || x == -1) if (x == 1 || x == -1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册