summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/performance/io-threads/src/io-threads.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xlators/performance/io-threads/src/io-threads.c b/xlators/performance/io-threads/src/io-threads.c
index 3477cb33ac6..001300c7144 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