summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/spu/remove.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/spu/remove.c')
-rw-r--r--newlib/libc/machine/spu/remove.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/newlib/libc/machine/spu/remove.c b/newlib/libc/machine/spu/remove.c
index 56b08860c..930a98036 100644
--- a/newlib/libc/machine/spu/remove.c
+++ b/newlib/libc/machine/spu/remove.c
@@ -41,8 +41,6 @@ remove (filename)
/* The return value gets written over buf
*/
- __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_REMOVE, &filename);
-
- return (int)filename;
+ return __send_to_ppe(SPE_C99_SIGNALCODE, SPE_C99_REMOVE, &filename);
}