From: Klement Sekera Date: Mon, 10 Feb 2020 11:51:05 +0000 (+0000) Subject: vppinfra: remove unused variable from timing wheel X-Git-Tag: v20.09-rc0~621 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F89%2F24889%2F2;p=vpp.git vppinfra: remove unused variable from timing wheel Type: fix Change-Id: I77b03efcac04cc46550d03657464ab8de5d7da78 Signed-off-by: Klement Sekera --- diff --git a/src/vppinfra/tw_timer_template.c b/src/vppinfra/tw_timer_template.c index 07e300f5eac..af2b75a0f57 100644 --- a/src/vppinfra/tw_timer_template.c +++ b/src/vppinfra/tw_timer_template.c @@ -421,7 +421,6 @@ TW (tw_timer_wheel_init) (TWT (tw_timer_wheel) * tw, } tw->timer_interval = timer_interval_in_seconds; tw->ticks_per_second = 1.0 / timer_interval_in_seconds; - tw->first_expires_tick = ~0ULL; vec_validate (tw->expired_timer_handles, 0); _vec_len (tw->expired_timer_handles) = 0; diff --git a/src/vppinfra/tw_timer_template.h b/src/vppinfra/tw_timer_template.h index e581f072f41..f77b64e0914 100644 --- a/src/vppinfra/tw_timer_template.h +++ b/src/vppinfra/tw_timer_template.h @@ -197,9 +197,6 @@ typedef struct /** current tick */ u64 current_tick; - /** first expiration time */ - u64 first_expires_tick; - /** current wheel indices */ u32 current_index[TW_TIMER_WHEELS];