summaryrefslogtreecommitdiffstats
path: root/libgloss/spu/lseek.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/spu/lseek.c')
-rw-r--r--libgloss/spu/lseek.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libgloss/spu/lseek.c b/libgloss/spu/lseek.c
index e4e1754fa..9ba372ccf 100644
--- a/libgloss/spu/lseek.c
+++ b/libgloss/spu/lseek.c
@@ -37,7 +37,6 @@ off_t
lseek (int file, off_t offset, int whence)
{
syscall_lseek_t sys;
- syscall_out_t *psys_out = ( syscall_out_t* )&sys;
sys.file = file;
sys.offset = offset;
@@ -54,8 +53,5 @@ lseek (int file, off_t offset, int whence)
break;
}
- __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_LSEEK, &sys);
-
- return ( psys_out->rc);
+ return __send_to_ppe (JSRE_POSIX1_SIGNALCODE, JSRE_LSEEK, &sys);
}
-