summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/spu/getchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/spu/getchar.c')
-rw-r--r--newlib/libc/machine/spu/getchar.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/newlib/libc/machine/spu/getchar.c b/newlib/libc/machine/spu/getchar.c
index eb105e522..68247eff1 100644
--- a/newlib/libc/machine/spu/getchar.c
+++ b/newlib/libc/machine/spu/getchar.c
@@ -45,8 +45,6 @@ getchar ()
CHECK_STD_INIT(_REENT);
- __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_GETCHAR, &ret);
-
- return ret;
+ return __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_GETCHAR, &ret);
}
#endif /* ! _REENT_ONLY */