aboutsummaryrefslogtreecommitdiffstats
path: root/vlib
diff options
context:
space:
mode:
Diffstat (limited to 'vlib')
-rw-r--r--vlib/vlib/threads.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/vlib/vlib/threads.c b/vlib/vlib/threads.c
index 2fa5b4f6ebd..15eb959938e 100644
--- a/vlib/vlib/threads.c
+++ b/vlib/vlib/threads.c
@@ -631,13 +631,10 @@ static clib_error_t * start_workers (vlib_main_t * vm)
{
vlib_next_frame_t *nf = &nm_clone->next_frames[j];
u32 save_node_runtime_index;
- u32 save_flags;
save_node_runtime_index = nf->node_runtime_index;
- save_flags = nf->flags;
vlib_next_frame_init (nf);
nf->node_runtime_index = save_node_runtime_index;
- nf->flags = save_flags;
}
/* fork the frame dispatch queue */
@@ -846,13 +843,10 @@ void vlib_worker_thread_node_runtime_update(void)
{
vlib_next_frame_t *nf = &nm_clone->next_frames[j];
u32 save_node_runtime_index;
- u32 save_flags;
save_node_runtime_index = nf->node_runtime_index;
- save_flags = nf->flags;
vlib_next_frame_init (nf);
nf->node_runtime_index = save_node_runtime_index;
- nf->flags = save_flags;
}
old_nodes_clone = nm_clone->nodes;