diff options
author | Yash Tibrewal <yashkt@google.com> | 2018-11-20 15:03:12 -0800 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2018-11-20 15:03:12 -0800 |
commit | c7e92f26ebaecc8ea619de8b757034bb848b37d4 (patch) | |
tree | 96ebecd4987e1eb2950b5b857c1f603138870ee3 /src/core/lib | |
parent | bab043e8650799b91a4e40853e56439c2ddb15a7 (diff) |
Reviewer comments
Diffstat (limited to 'src/core/lib')
-rw-r--r-- | src/core/lib/iomgr/endpoint.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/lib/iomgr/endpoint.cc b/src/core/lib/iomgr/endpoint.cc index 5e5effb2f1..06316c6031 100644 --- a/src/core/lib/iomgr/endpoint.cc +++ b/src/core/lib/iomgr/endpoint.cc @@ -63,8 +63,5 @@ grpc_resource_user* grpc_endpoint_get_resource_user(grpc_endpoint* ep) { } bool grpc_endpoint_can_track_err(grpc_endpoint* ep) { - if (ep->vtable->can_track_err != nullptr) { - return ep->vtable->can_track_err(ep); - } - return false; + return ep->vtable->can_track_err(ep); } |