From 4393f27ddff96da77cc142477496f01e24b790c5 Mon Sep 17 00:00:00 2001 From: Andrew Yourtchenko Date: Wed, 21 Jun 2017 19:34:02 +0200 Subject: acl-plugin: fix coverity issue 170476 Remove the unnecessary variable assignment which coverity detected. Change-Id: I66ac20a8495400ac59192ddb72f16c95f6b4d03c Signed-off-by: Andrew Yourtchenko --- src/plugins/acl/fa_node.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/acl/fa_node.c b/src/plugins/acl/fa_node.c index bfb2fc1eaca..3c23c8086e7 100644 --- a/src/plugins/acl/fa_node.c +++ b/src/plugins/acl/fa_node.c @@ -1384,7 +1384,7 @@ acl_fa_session_cleaner_process (vlib_main_t * vm, vlib_node_runtime_t * rt, vlib_frame_t * f) { acl_main_t *am = &acl_main; - u64 now = clib_cpu_time_now (); + u64 now; f64 cpu_cps = vm->clib_time.clocks_per_second; u64 next_expire; /* We should check if there are connections to clean up - at least twice a second */ @@ -1453,7 +1453,6 @@ acl_fa_session_cleaner_process (vlib_main_t * vm, vlib_node_runtime_t * rt, } } - now = clib_cpu_time_now (); switch (event_type) { case ~0: -- cgit 1.2.3-korg