projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffe6c42
)
m68k/math-emu: Remove unnecessary code
author
Greg Dietsche
<Gregory.Dietsche@cuw.edu>
Thu, 16 Jun 2011 16:42:07 +0000
(11:42 -0500)
committer
Geert Uytterhoeven
<geert@linux-m68k.org>
Sat, 30 Jul 2011 19:21:40 +0000
(21:21 +0200)
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>
arch/m68k/math-emu/fp_log.c
patch
|
blob
|
history
diff --git
a/arch/m68k/math-emu/fp_log.c
b/arch/m68k/math-emu/fp_log.c
index 367ecee2f981db6a5763ed4ac69452f20afbd79d..3384a5244fbdc147155278729ef979eca593c3b2 100644
(file)
--- 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;
}