summaryrefslogtreecommitdiffstats
path: root/src/plugins/acl/fa_node.c
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2017-06-21 19:34:02 +0200
committerChris Luke <chris_luke@comcast.com>2017-06-21 18:59:47 +0000
commit4393f27ddff96da77cc142477496f01e24b790c5 (patch)
tree21d0466f9e14191e79ec9dd48b91b529c547644c /src/plugins/acl/fa_node.c
parent07b5913ec168245b1a926f7e77948db3c40693ce (diff)
acl-plugin: fix coverity issue 170476
Remove the unnecessary variable assignment which coverity detected. Change-Id: I66ac20a8495400ac59192ddb72f16c95f6b4d03c Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/plugins/acl/fa_node.c')
-rw-r--r--src/plugins/acl/fa_node.c3
1 files changed, 1 insertions, 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: