From: Ralf Baechle Date: Sat, 19 Apr 2014 21:01:34 +0000 (+0200) Subject: MIPS: math-emu: Remove #if 1 and dead code from its #else branch. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=08f1faa02ae5e513b10d6e44967a22dc20307158;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git MIPS: math-emu: Remove #if 1 and dead code from its #else branch. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/math-emu/dp_fint.c b/arch/mips/math-emu/dp_fint.c index fa75f5dd5587..4b5ee799b4a4 100644 --- a/arch/mips/math-emu/dp_fint.c +++ b/arch/mips/math-emu/dp_fint.c @@ -51,7 +51,6 @@ union ieee754dp ieee754dp_fint(int x) xm = x; } -#if 1 /* normalize - result can never be inexact or overflow */ xe = DP_MBITS; while ((xm >> DP_MBITS) == 0) { @@ -59,15 +58,6 @@ union ieee754dp ieee754dp_fint(int x) xe--; } return builddp(xs, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT); -#else - /* normalize */ - xe = DP_MBITS + 3; - while ((xm >> (DP_MBITS + 3)) == 0) { - xm <<= 1; - xe--; - } - DPNORMRET1(xs, xe, xm, "fint", x); -#endif } union ieee754dp ieee754dp_funs(unsigned int u)