summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/bihash_template.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/bihash_template.c')
-rw-r--r--src/vppinfra/bihash_template.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vppinfra/bihash_template.c b/src/vppinfra/bihash_template.c
index 698053867a4..6e910febce1 100644
--- a/src/vppinfra/bihash_template.c
+++ b/src/vppinfra/bihash_template.c
@@ -441,8 +441,7 @@ static inline int BV (clib_bihash_add_del_inline)
tmp_b.refcnt = 1;
CLIB_MEMORY_BARRIER ();
- b->as_u64 = tmp_b.as_u64;
- BV (clib_bihash_unlock_bucket) (b);
+ b->as_u64 = tmp_b.as_u64; /* unlocks the bucket */
return (0);
}