Merge pull request #15350 from ericgribkoff/remove_no_op_string

chttp2_transport: remove unused string
pull/12360/head
Eric Gribkoff 7 years ago committed by GitHub
commit ac7902cde9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/core/ext/transport/chttp2/transport/chttp2_transport.cc

@ -1801,8 +1801,11 @@ static void perform_transport_op_locked(void* stream_op,
static void perform_transport_op(grpc_transport* gt, grpc_transport_op* op) { static void perform_transport_op(grpc_transport* gt, grpc_transport_op* op) {
grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt); grpc_chttp2_transport* t = reinterpret_cast<grpc_chttp2_transport*>(gt);
if (grpc_http_trace.enabled()) {
char* msg = grpc_transport_op_string(op); char* msg = grpc_transport_op_string(op);
gpr_log(GPR_INFO, "perform_transport_op[t=%p]: %s", t, msg);
gpr_free(msg); gpr_free(msg);
}
op->handler_private.extra_arg = gt; op->handler_private.extra_arg = gt;
GRPC_CHTTP2_REF_TRANSPORT(t, "transport_op"); GRPC_CHTTP2_REF_TRANSPORT(t, "transport_op");
GRPC_CLOSURE_SCHED(GRPC_CLOSURE_INIT(&op->handler_private.closure, GRPC_CLOSURE_SCHED(GRPC_CLOSURE_INIT(&op->handler_private.closure,

Loading…
Cancel
Save