diff mbox series

[hurd,commited,4/7] htl: Drop duplicate check in __pthread_stack_alloc

Message ID 20230102100938.2778311-5-samuel.thibault@ens-lyon.org
State New
Headers show
Series hurd: fixes | expand

Commit Message

Samuel Thibault Jan. 2, 2023, 10:09 a.m. UTC
---
 sysdeps/mach/htl/pt-stack-alloc.c | 3 ---
 1 file changed, 3 deletions(-)
diff mbox series

Patch

diff --git a/sysdeps/mach/htl/pt-stack-alloc.c b/sysdeps/mach/htl/pt-stack-alloc.c
index cb1807cd16..d8c88fc389 100644
--- a/sysdeps/mach/htl/pt-stack-alloc.c
+++ b/sysdeps/mach/htl/pt-stack-alloc.c
@@ -57,9 +57,6 @@  get_stack:
 	return EAGAIN;
     }
 
-  if (base >= VM_MAX_ADDRESS)
-    return EAGAIN;
-
   next_stack_base = base + stacksize;
 
   (*stackaddr) = (void *) base;