summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/event-poll.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-poll.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-poll.c')
-rw-r--r--libglusterfs/src/event-poll.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libglusterfs/src/event-poll.c b/libglusterfs/src/event-poll.c
index 815e936548a..51c0cf1f4e7 100644
--- a/libglusterfs/src/event-poll.c
+++ b/libglusterfs/src/event-poll.c
@@ -493,10 +493,6 @@ int
event_reconfigure_threads_poll (struct event_pool *event_pool, int value)
{
/* No-op for poll */
- /* One could check event_pool->dispatched before creating threads when
- * multi-threaded poll based support is implemented.
- * event_pool->dispatch indicates if event_dispatch was called.
- * */
return 0;
}