[PATCH 3/4] math-emu: Remove redundant 'ret'

Kumar Gala kumar.gala at freescale.com
Thu Nov 6 15:05:35 EST 2008


On Oct 27, 2008, at 10:50 PM, Liu Yu wrote:

> FP_DECL_EX is already used, so ret is redundant.
> And FP_SET_EXCEPTION will add status into return value.
>
> Signed-off-by: Liu Yu <yu.liu at freescale.com>
> ---
> arch/powerpc/math-emu/fadd.c    |    1 -
> arch/powerpc/math-emu/fcmpo.c   |    5 ++---
> arch/powerpc/math-emu/fdiv.c    |    9 ++++-----
> arch/powerpc/math-emu/fdivs.c   |    9 ++++-----
> arch/powerpc/math-emu/fmadd.c   |    5 ++---
> arch/powerpc/math-emu/fmadds.c  |    5 ++---
> arch/powerpc/math-emu/fmsub.c   |    5 ++---
> arch/powerpc/math-emu/fmsubs.c  |    5 ++---
> arch/powerpc/math-emu/fmul.c    |    3 +--
> arch/powerpc/math-emu/fmuls.c   |    3 +--
> arch/powerpc/math-emu/fnmadd.c  |    5 ++---
> arch/powerpc/math-emu/fnmadds.c |    5 ++---
> arch/powerpc/math-emu/fnmsub.c  |    5 ++---
> arch/powerpc/math-emu/fnmsubs.c |    5 ++---
> arch/powerpc/math-emu/fsqrt.c   |    5 ++---
> arch/powerpc/math-emu/fsqrts.c  |    5 ++---
> arch/powerpc/math-emu/fsub.c    |    3 +--
> arch/powerpc/math-emu/fsubs.c   |    3 +--
> 18 files changed, 34 insertions(+), 52 deletions(-)


applied to next.

- k



More information about the Linuxppc-dev mailing list