X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=arch%2Fum%2Fkernel%2Fsyscall.c;h=128ee85bc8d96b78522fb7f1043a913ec0e9d269;hb=a8931ef380c92d121ae74ecfb03b2d63f72eea6f;hp=9cffc628a37e0f9505f6da9a8283eaf0ee368e2f;hpb=c58310bf4933986513020fa90b4190c7492995ae;p=linux-2.6 diff --git a/arch/um/kernel/syscall.c b/arch/um/kernel/syscall.c index 9cffc628a3..128ee85bc8 100644 --- a/arch/um/kernel/syscall.c +++ b/arch/um/kernel/syscall.c @@ -73,23 +73,6 @@ long old_mmap(unsigned long addr, unsigned long len, out: return err; } -/* - * sys_pipe() is the normal C calling standard for creating - * a pipe. It's not the way unix traditionally does this, though. - */ -long sys_pipe(unsigned long __user * fildes) -{ - int fd[2]; - long error; - - error = do_pipe(fd); - if (!error) { - if (copy_to_user(fildes, fd, sizeof(fd))) - error = -EFAULT; - } - return error; -} - long sys_uname(struct old_utsname __user * name) {