summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/event.c')
-rw-r--r--libglusterfs/src/event.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libglusterfs/src/event.c b/libglusterfs/src/event.c
index ce976f11d50..75b73059112 100644
--- a/libglusterfs/src/event.c
+++ b/libglusterfs/src/event.c
@@ -124,10 +124,6 @@ event_dispatch (struct event_pool *event_pool)
if (ret)
goto out;
- pthread_mutex_lock (&event_pool->mutex);
- {
- event_pool->dispatched = 1;
- }
pthread_mutex_unlock (&event_pool->mutex);
out:
return ret;