summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/spu/ferror.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/spu/ferror.c')
-rw-r--r--newlib/libc/machine/spu/ferror.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/newlib/libc/machine/spu/ferror.c b/newlib/libc/machine/spu/ferror.c
index b1a48f4d8..ac747eff4 100644
--- a/newlib/libc/machine/spu/ferror.c
+++ b/newlib/libc/machine/spu/ferror.c
@@ -46,9 +46,6 @@ _DEFUN (ferror, (fp),
result = fp->_fp;
- __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_FERROR, &result);
-
-
- return result;
+ return __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_FERROR, &result);
}
#endif /* ! _REENT_ONLY */