aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-11-20 15:03:12 -0800
committerGravatar Yash Tibrewal <yashkt@google.com>2018-11-20 15:03:12 -0800
commitc7e92f26ebaecc8ea619de8b757034bb848b37d4 (patch)
tree96ebecd4987e1eb2950b5b857c1f603138870ee3 /src/core/lib
parentbab043e8650799b91a4e40853e56439c2ddb15a7 (diff)
Reviewer comments
Diffstat (limited to 'src/core/lib')
-rw-r--r--src/core/lib/iomgr/endpoint.cc5
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);
}