diff options
author | Florin Coras <fcoras@cisco.com> | 2019-03-03 17:56:48 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-03-04 11:15:41 +0000 |
commit | ac626264ec5cbb3d727147ae336cac55eb37906e (patch) | |
tree | 915393bb3002e9fde67708916f8e4c8440c8b5db /src/vcl/vppcom.c | |
parent | f90bcee0944064fbe99571b772eef4baba32152e (diff) |
vcl: remove unused fields and structures
Change-Id: I49a95c4e2eb17e5a6ab514dde2505294a4c01353
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vcl/vppcom.c')
-rw-r--r-- | src/vcl/vppcom.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c index cc7a27642a8..7c076d3b315 100644 --- a/src/vcl/vppcom.c +++ b/src/vcl/vppcom.c @@ -2216,11 +2216,9 @@ vep_verify_epoll_chain (vcl_worker_t * wrk, u32 vep_idx) " is_vep = %u\n" " is_vep_session = %u\n" " next_sid = 0x%x (%u)\n" - " wait_cont_idx = 0x%x (%u)\n" "}\n", getpid (), vep_idx, session->is_vep, session->is_vep_session, - vep->next_sh, vep->next_sh, - session->wait_cont_idx, session->wait_cont_idx); + vep->next_sh, vep->next_sh); for (sid = vep->next_sh; sid != ~0; sid = vep->next_sh) { @@ -2280,7 +2278,6 @@ vppcom_epoll_create (void) vep_session->vep.vep_sh = ~0; vep_session->vep.next_sh = ~0; vep_session->vep.prev_sh = ~0; - vep_session->wait_cont_idx = ~0; vep_session->vpp_handle = ~0; vcl_evt (VCL_EVT_EPOLL_CREATE, vep_session, vep_session->session_index); @@ -2413,10 +2410,6 @@ vppcom_epoll_ctl (uint32_t vep_handle, int op, uint32_t session_handle, goto done; } - vep_session->wait_cont_idx = - (vep_session->wait_cont_idx == session_handle) ? - session->vep.next_sh : vep_session->wait_cont_idx; - if (session->vep.prev_sh == vep_handle) vep_session->vep.next_sh = session->vep.next_sh; else |