From 0a9ca8162725b2f6b17a4d2e8cc863d27bb8770e Mon Sep 17 00:00:00 2001 From: Yaniv Kaul Date: Wed, 9 Oct 2019 00:25:42 +0300 Subject: dict.{c,h}: remove the lock from the _data struct I'm not sure why it was there and I did not see any use for it. In the hope I did not miss anything, I removed it. Change-Id: I02fa2e8e2a598b488fddbff4c7168dc4a41929b2 updates: bz#1193929 Signed-off-by: Yaniv Kaul --- libglusterfs/src/glusterfs/dict.h | 1 - 1 file changed, 1 deletion(-) (limited to 'libglusterfs/src/glusterfs') diff --git a/libglusterfs/src/glusterfs/dict.h b/libglusterfs/src/glusterfs/dict.h index 35337251360..bfb01afb9b9 100644 --- a/libglusterfs/src/glusterfs/dict.h +++ b/libglusterfs/src/glusterfs/dict.h @@ -97,7 +97,6 @@ typedef struct _data_pair data_pair_t; struct _data { char *data; gf_atomic_t refcount; - gf_lock_t lock; gf_dict_data_type_t data_type; int32_t len; gf_boolean_t is_static; -- cgit