aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src/face_db.h
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-11-22 13:09:58 +0000
committerGerrit Code Review <gerrit@fd.io>2019-11-22 13:09:58 +0000
commit843fba473ff35d026a7c4d39aa269b06c55e1f91 (patch)
tree5748e42bc923d85cd15114409d2719a976d0106e /hicn-plugin/src/face_db.h
parent4d593c09d9cc1496788f7953de25832193064103 (diff)
parent62f7b46d4c49d6e5bfb5b3b537bfcaf6503e7bac (diff)
Merge "[HICN-405] Added application face delete"
Diffstat (limited to 'hicn-plugin/src/face_db.h')
-rw-r--r--hicn-plugin/src/face_db.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/hicn-plugin/src/face_db.h b/hicn-plugin/src/face_db.h
index c3308050a..17c28959a 100644
--- a/hicn-plugin/src/face_db.h
+++ b/hicn-plugin/src/face_db.h
@@ -110,9 +110,6 @@ hicn_face_db_add_face_dpo (dpo_id_t * dpo, hicn_face_db_t * face_db)
clib_memcpy (face, dpo, sizeof (dpo_id_t));
- /* This access the dpoi to increase the lock */
- dpo_lock (dpo);
-
u32 bitmap_index = dpo->dpoi_index % HICN_PIT_N_HOP_BITMAP_SIZE;
u32 position_array = bitmap_index / 8;
u8 bit_index = (u8) (bitmap_index - position_array * 8);