From af7a7c2f3a7f674d9be306ff5790670bbc1bfb0b Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Fri, 20 Dec 2019 10:32:17 -0800 Subject: [PATCH] [LibOS] clone: Remove stale comment --- LibOS/shim/src/sys/shim_clone.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/LibOS/shim/src/sys/shim_clone.c b/LibOS/shim/src/sys/shim_clone.c index 42a02dd3..2db37f36 100644 --- a/LibOS/shim/src/sys/shim_clone.c +++ b/LibOS/shim/src/sys/shim_clone.c @@ -107,13 +107,6 @@ static void fixup_child_context(struct shim_regs * regs) * 7.In the wrapper function ,we just do the stack switch to user * Provided stack and execute the user Provided function. */ - -/* glibc needs space offset by fs. In the absence of a good way to predict - * how big the struct pthread will be (defined in nptl/descr.h), - * let's just define a value that over-shoots it. - */ -#define PTHREAD_PADDING 2048 - static int clone_implementation_wrapper(struct shim_clone_args * arg) { //The child thread created by PAL is now running on the