aboutsummaryrefslogtreecommitdiffstats
path: root/vlib
diff options
context:
space:
mode:
Diffstat (limited to 'vlib')
-rw-r--r--vlib/vlib/threads.c4
-rw-r--r--vlib/vlib/threads.h3
2 files changed, 1 insertions, 6 deletions
diff --git a/vlib/vlib/threads.c b/vlib/vlib/threads.c
index 3b815be42e1..1808f36fe50 100644
--- a/vlib/vlib/threads.c
+++ b/vlib/vlib/threads.c
@@ -983,9 +983,7 @@ cpu_config (vlib_main_t * vm, unformat_input_t * input)
while (unformat_check_input(input) != UNFORMAT_END_OF_INPUT)
{
- if (unformat (input, "main-thread-io"))
- tm->main_thread_is_io_node = 1;
- else if (unformat (input, "use-pthreads"))
+ if (unformat (input, "use-pthreads"))
tm->use_pthreads = 1;
else if (unformat (input, "thread-prefix %v", &tm->thread_prefix))
;
diff --git a/vlib/vlib/threads.h b/vlib/vlib/threads.h
index f13d3768e42..f81be798626 100644
--- a/vlib/vlib/threads.h
+++ b/vlib/vlib/threads.h
@@ -264,9 +264,6 @@ typedef struct {
vlib_worker_thread_t * worker_threads;
- /* thread / cpu / io thread parameters */
- u32 main_thread_is_io_node;
-
/*
* Launch all threads as pthreads,
* not eal_rte_launch (strict affinity) threads