From fa9eb588fbe758cbc1ebe727d2455f1dcd0b065f Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Fri, 10 Apr 2009 07:09:49 -0700 Subject: io-threads: Remove unnecessary call to pthread_attr_setstacksize We do not need to explicitly set the stack size to its default value. Signed-off-by: Anand V. Avati --- xlators/performance/io-threads/src/io-threads.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'xlators/performance/io-threads') diff --git a/xlators/performance/io-threads/src/io-threads.c b/xlators/performance/io-threads/src/io-threads.c index 3477cb33a..001300c71 100644 --- a/xlators/performance/io-threads/src/io-threads.c +++ b/xlators/performance/io-threads/src/io-threads.c @@ -1792,11 +1792,7 @@ set_stack_size (iot_conf_t *conf) if (err == EINVAL) { gf_log (conf->this->name, GF_LOG_WARNING, "Using default thread stack size"); - stacksize = 0; } - - pthread_attr_setstacksize (&conf->w_attr, stacksize); - } static void -- cgit