summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/clone.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/i386/clone.S')
-rw-r--r--libc/sysdeps/linux/i386/clone.S6
1 files changed, 0 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/i386/clone.S b/libc/sysdeps/linux/i386/clone.S
index d918fc444..dd39015fb 100644
--- a/libc/sysdeps/linux/i386/clone.S
+++ b/libc/sysdeps/linux/i386/clone.S
@@ -51,12 +51,6 @@ __clone:
/* Sanity check arguments. */
movl $-EINVAL,%eax
- test %ecx,%ecx
- call .Lclone_error
-
- test %edx,%edx
- call .Lclone_error
-
movl FUNC(%esp),%ecx /* no NULL function pointers */
#ifdef __PIC__
jecxz .Lclone_error