Browse Source

Remove now unnecessary check that incoming epoll fds are not orphaned

David Klempner 10 years ago
parent
commit
3a890a2290
1 changed files with 1 additions and 7 deletions
  1. 1 7
      src/core/iomgr/pollset_multipoller_with_epoll.c

+ 1 - 7
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);