aboutsummaryrefslogtreecommitdiff
path: root/libgloss/spu/unlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/spu/unlink.c')
-rw-r--r--libgloss/spu/unlink.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/libgloss/spu/unlink.c b/libgloss/spu/unlink.c
index 47b02a6..4a7edef 100644
--- a/libgloss/spu/unlink.c
+++ b/libgloss/spu/unlink.c
@@ -35,13 +35,8 @@ Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
int
unlink (const char *pathname)
{
- syscall_unlink_t sys ;
- syscall_out_t *psys_out = ( syscall_out_t* )&sys;
+ syscall_unlink_t sys;
sys.pathname = ( unsigned int )pathname;
-
- __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_UNLINK, &sys);
-
- return ( psys_out->rc);
+ return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_UNLINK, &sys);
}
-