diff options
Diffstat (limited to 'libglusterfs/src/dict.c')
-rw-r--r-- | libglusterfs/src/dict.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libglusterfs/src/dict.c b/libglusterfs/src/dict.c index 12184f03343..b790c93ec65 100644 --- a/libglusterfs/src/dict.c +++ b/libglusterfs/src/dict.c @@ -57,7 +57,6 @@ get_new_data() GF_ATOMIC_INIT(data->refcount, 0); data->is_static = _gf_false; - LOCK_INIT(&data->lock); return data; } @@ -293,8 +292,6 @@ void data_destroy(data_t *data) { if (data) { - LOCK_DESTROY(&data->lock); - if (!data->is_static) GF_FREE(data->data); @@ -325,7 +322,6 @@ data_copy(data_t *old) } newdata->data_type = old->data_type; - LOCK_INIT(&newdata->lock); return newdata; err_out: |