From: Greg Dietsche Date: Thu, 16 Jun 2011 16:42:07 +0000 (-0500) Subject: m68k/math-emu: Remove unnecessary code X-Git-Tag: firefly_0821_release~3680^2~4793^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d3690f8b713f9710e68214ca38fb8b07b587a2a7;p=firefly-linux-kernel-4.4.55.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; }