From 90d28846f963a86d760b4a6b83aed62b862f1c61 Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Mon, 10 Feb 2020 11:51:05 +0000 Subject: vppinfra: remove unused variable from timing wheel Type: fix Change-Id: I77b03efcac04cc46550d03657464ab8de5d7da78 Signed-off-by: Klement Sekera --- src/vppinfra/tw_timer_template.c | 1 - src/vppinfra/tw_timer_template.h | 3 --- 2 files changed, 4 deletions(-) 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]; -- cgit 1.2.3-korg