From: Greg Dietsche Date: Thu, 16 Jun 2011 16:42:07 +0000 (-0500) Subject: m68k/math-emu: Remove unnecessary code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d3690f8b713f9710e68214ca38fb8b07b587a2a7;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git m68k/math-emu: Remove unnecessary code Remove unnecessary code that matches this coccinelle pattern if (...) return ret; return ret; Signed-off-by: Greg Dietsche Signed-off-by: Geert Uytterhoeven --- diff --git a/arch/m68k/math-emu/fp_log.c b/arch/m68k/math-emu/fp_log.c index 367ecee2f981..3384a5244fbd 100644 --- a/arch/m68k/math-emu/fp_log.c +++ b/arch/m68k/math-emu/fp_log.c @@ -105,9 +105,6 @@ fp_fetoxm1(struct fp_ext *dest, struct fp_ext *src) fp_monadic_check(dest, src); - if (IS_ZERO(dest)) - return dest; - return dest; }