diff options
author | apolcyn <apolcyn@google.com> | 2018-06-12 14:06:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-12 14:06:33 -0700 |
commit | eb10abe94a32fcb7d0b2a5f1614717456ea07705 (patch) | |
tree | f8a8ecdcf3d74841abf2c94b82f818b294161da2 /src/core/lib/iomgr/ev_posix.cc | |
parent | 56e59ef6b03c73ecddf0954ee409a3f60ed5ea30 (diff) | |
parent | 4e8a2f5f273a9ef44499c9505c665df37ac507d5 (diff) |
Merge pull request #15648 from apolcyn/remove_fd_shutdown_already_closed
Remove already_closed param from fd_orphan
Diffstat (limited to 'src/core/lib/iomgr/ev_posix.cc')
-rw-r--r-- | src/core/lib/iomgr/ev_posix.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/core/lib/iomgr/ev_posix.cc b/src/core/lib/iomgr/ev_posix.cc index 82b21df7ba..1139b3273a 100644 --- a/src/core/lib/iomgr/ev_posix.cc +++ b/src/core/lib/iomgr/ev_posix.cc @@ -209,13 +209,12 @@ int grpc_fd_wrapped_fd(grpc_fd* fd) { } void grpc_fd_orphan(grpc_fd* fd, grpc_closure* on_done, int* release_fd, - bool already_closed, const char* reason) { - GRPC_POLLING_API_TRACE("fd_orphan(%d, %p, %p, %d, %s)", - grpc_fd_wrapped_fd(fd), on_done, release_fd, - already_closed, reason); + const char* reason) { + GRPC_POLLING_API_TRACE("fd_orphan(%d, %p, %p, %s)", grpc_fd_wrapped_fd(fd), + on_done, release_fd, reason); GRPC_FD_TRACE("grpc_fd_orphan, fd:%d closed", grpc_fd_wrapped_fd(fd)); - g_event_engine->fd_orphan(fd, on_done, release_fd, already_closed, reason); + g_event_engine->fd_orphan(fd, on_done, release_fd, reason); } void grpc_fd_shutdown(grpc_fd* fd, grpc_error* why) { |