aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar David Klempner <klempner@google.com>2015-02-11 13:09:50 -0800
committerGravatar David Klempner <klempner@google.com>2015-02-11 13:09:50 -0800
commit3a890a2290cec81b2be0a2ce7f821a95cccd43af (patch)
tree8045f5278379b8335ab64b1ef2197d6131349204 /src
parent53eae7a3e06e4296e1557f2d3987c214f1620f10 (diff)
Remove now unnecessary check that incoming epoll fds are not orphaned
Diffstat (limited to 'src')
-rw-r--r--src/core/iomgr/pollset_multipoller_with_epoll.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/core/iomgr/pollset_multipoller_with_epoll.c b/src/core/iomgr/pollset_multipoller_with_epoll.c
index 14c038e7af..8171c5f1dd 100644
--- a/src/core/iomgr/pollset_multipoller_with_epoll.c
+++ b/src/core/iomgr/pollset_multipoller_with_epoll.c
@@ -176,13 +176,7 @@ void grpc_platform_become_multipoller(grpc_pollset *pollset, grpc_fd **fds,
abort();
}
for (i = 0; i < nfds; i++) {
- if (grpc_fd_is_orphaned(fds[i])) {
- /* This should not happen, remove before merging upstream because this is
- * better fixed in unary poller */
- grpc_fd_unref(fds[i]);
- } else {
- multipoll_with_epoll_pollset_add_fd(pollset, fds[i]);
- }
+ multipoll_with_epoll_pollset_add_fd(pollset, fds[i]);
}
grpc_wakeup_fd_create(&h->wakeup_fd);