vppinfra: remove unused variable from timing wheel 89/24889/2
authorKlement Sekera <ksekera@cisco.com>
Mon, 10 Feb 2020 11:51:05 +0000 (11:51 +0000)
committerDave Barach <openvpp@barachs.net>
Tue, 11 Feb 2020 19:58:23 +0000 (19:58 +0000)
Type: fix

Change-Id: I77b03efcac04cc46550d03657464ab8de5d7da78
Signed-off-by: Klement Sekera <ksekera@cisco.com>
src/vppinfra/tw_timer_template.c
src/vppinfra/tw_timer_template.h

index 07e300f..af2b75a 100644 (file)
@@ -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;
index e581f07..f77b64e 100644 (file)
@@ -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];