Skip to content

Commit

Permalink
m68k/math-emu: Remove unnecessary code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Dietsche authored and Geert Uytterhoeven committed Jul 30, 2011
1 parent ffe6c42 commit d3690f8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/m68k/math-emu/fp_log.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d3690f8

Please sign in to comment.