aboutsummaryrefslogtreecommitdiffstats
path: root/vlib/vlib/threads.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-06-13 22:49:44 +0200
committerDave Barach <openvpp@barachs.net>2016-06-14 16:36:27 +0000
commitbf741477013c9eb84c920a24bd850936a821d61b (patch)
treeb0a1142d12fe465a6ad3db1eeccfbd4b51823a8e /vlib/vlib/threads.c
parent6c56a3c6f0382f3751272d0784e9e0d16a646f3f (diff)
Retire io threads and main-thread-io mode
Change-Id: I64f5ec5e32f200834c63ec3b304f9f20cef332a7 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vlib/vlib/threads.c')
-rw-r--r--vlib/vlib/threads.c4
1 files changed, 1 insertions, 3 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))
;