]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
htl: Drop duplicate check in __pthread_stack_alloc
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 2 Jan 2023 00:47:38 +0000 (01:47 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 2 Jan 2023 10:36:11 +0000 (11:36 +0100)
sysdeps/mach/htl/pt-stack-alloc.c

index cb1807cd169495552b38a56a663adfdec05adf07..d8c88fc3898ba402fcac2d2167a89d3116aeada0 100644 (file)
@@ -57,9 +57,6 @@ get_stack:
        return EAGAIN;
     }
 
-  if (base >= VM_MAX_ADDRESS)
-    return EAGAIN;
-
   next_stack_base = base + stacksize;
 
   (*stackaddr) = (void *) base;