summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/spu/fgetc.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/spu/fgetc.c')
-rw-r--r--newlib/libc/machine/spu/fgetc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/newlib/libc/machine/spu/fgetc.c b/newlib/libc/machine/spu/fgetc.c
index 103b4ff8a..815203228 100644
--- a/newlib/libc/machine/spu/fgetc.c
+++ b/newlib/libc/machine/spu/fgetc.c
@@ -46,8 +46,6 @@ _DEFUN (fgetc, (fp),
result = fp->_fp;
- __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_FGETC, &result);
-
- return result;
+ return __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_FGETC, &result);
}
#endif /* ! _REENT_ONLY */