summaryrefslogtreecommitdiff
path: root/arch/m68k/math-emu
diff options
context:
space:
mode:
authorGreg Dietsche <Gregory.Dietsche@cuw.edu>2011-06-16 11:42:07 -0500
committerGeert Uytterhoeven <geert@linux-m68k.org>2011-07-30 21:21:40 +0200
commitd3690f8b713f9710e68214ca38fb8b07b587a2a7 (patch)
tree22ce13dd5e5f9d0a3b84dc4b741cef9575462d52 /arch/m68k/math-emu
parentffe6c42aa3f731f8707e49c39b4b37310ed363e9 (diff)
m68k/math-emu: Remove unnecessary code
Remove unnecessary code that matches this coccinelle pattern if (...) return ret; return ret; Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/math-emu')
-rw-r--r--arch/m68k/math-emu/fp_log.c3
1 files changed, 0 insertions, 3 deletions
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;
}