diff --git a/src/core/lib/transport/call_filters.cc b/src/core/lib/transport/call_filters.cc index b2bba5fc173..fe9c4f08858 100644 --- a/src/core/lib/transport/call_filters.cc +++ b/src/core/lib/transport/call_filters.cc @@ -55,7 +55,7 @@ Poll> OperationExecutor::Start( template Poll> OperationExecutor::InitStep(T input, void* call_data) { - CHECK_NE(input, nullptr); + CHECK(input != nullptr); while (true) { if (ops_ == end_ops_) { return ResultOr{std::move(input), nullptr}; diff --git a/src/core/lib/transport/call_filters.h b/src/core/lib/transport/call_filters.h index 312c987e775..8d24230f3bb 100644 --- a/src/core/lib/transport/call_filters.h +++ b/src/core/lib/transport/call_filters.h @@ -1390,7 +1390,7 @@ class CallFilters { public: Push(CallFilters* filters, T x) : filters_(filters), value_(std::move(x)) { - CHECK_NE(value_, nullptr); + CHECK(value_ != nullptr); if (GRPC_TRACE_FLAG_ENABLED(grpc_trace_promise_primitives)) { gpr_log(GPR_INFO, "BeginPush[%p|%p]: %s", &state(), this, state().DebugString().c_str());