summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGreg Dietsche <Gregory.Dietsche@cuw.edu>2011-06-16 18:42:07 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2011-07-30 21:21:40 +0200
commitd3690f8b713f9710e68214ca38fb8b07b587a2a7 (patch)
tree22ce13dd5e5f9d0a3b84dc4b741cef9575462d52 /arch
parentm68k/math-emu: Remove commented out old code (diff)
downloadlinux-d3690f8b713f9710e68214ca38fb8b07b587a2a7.tar.xz
linux-d3690f8b713f9710e68214ca38fb8b07b587a2a7.zip
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')
-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;
}