summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/event.c
diff options
context:
space:
mode:
authorKrishnan Parthasarathi <kparthas@redhat.com>2015-08-28 14:27:20 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2015-08-28 10:14:01 -0700
commitdedf2bde88020adbabb80204830878f060fa614c (patch)
treeb80e95e397e8fb2e396bfaa1bd8d7406d2c10171 /libglusterfs/src/event.c
parentbd9dd34700de63f96b9fc65125d539b2c16fa6bf (diff)
event-epoll: Use pollers[] to check if event_pool_dispatch was called
BUG: 1242421 Change-Id: I1a0044653f15d33f89ffe16edc5baba40393dec3 Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com> Reviewed-on: http://review.gluster.org/12004 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com> Reviewed-by: Raghavendra Talur <rtalur@redhat.com>
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;