summaryrefslogtreecommitdiffstats
path: root/src/vppinfra
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2020-02-10 11:51:05 +0000
committerDave Barach <openvpp@barachs.net>2020-02-11 19:58:23 +0000
commit90d28846f963a86d760b4a6b83aed62b862f1c61 (patch)
tree8b5468310fd5b8f9b8f748245ad76b8a383222db /src/vppinfra
parentdee0a3bb04f4e8d4fb588a1d5220042220765b83 (diff)
vppinfra: remove unused variable from timing wheel
Type: fix Change-Id: I77b03efcac04cc46550d03657464ab8de5d7da78 Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'src/vppinfra')
-rw-r--r--src/vppinfra/tw_timer_template.c1
-rw-r--r--src/vppinfra/tw_timer_template.h3
2 files changed, 0 insertions, 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];