diff options
Diffstat (limited to 'sysdeps/generic/pt-attr-setstacksize.c')
-rw-r--r-- | sysdeps/generic/pt-attr-setstacksize.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sysdeps/generic/pt-attr-setstacksize.c b/sysdeps/generic/pt-attr-setstacksize.c index c88f917..00d9675 100644 --- a/sysdeps/generic/pt-attr-setstacksize.c +++ b/sysdeps/generic/pt-attr-setstacksize.c @@ -26,11 +26,5 @@ pthread_attr_setstacksize (pthread_attr_t *attr, { attr->stacksize = stacksize; - /* The guard size cannot be larger than the stack itself, as - such, if the new stack size is smaller than the guard size, - we squash the guard size. */ - if (attr->guardsize > attr->stacksize) - attr->guardsize = attr->stacksize; - return 0; } |