aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2017-10-27 09:37:41 -0700
committerGravatar Mark D. Roth <roth@google.com>2017-10-27 09:37:41 -0700
commit6e5ce7288da316a6ceee84bd071b6bbddec21495 (patch)
tree187ac964aa5254f13e4967e30691887c0c47f5b2 /src/core/lib
parente9b1083791873f2bc9e0bc33874911c49f05e923 (diff)
Assume that subchannels start in state IDLE.
Diffstat (limited to 'src/core/lib')
-rw-r--r--src/core/lib/transport/connectivity_state.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/lib/transport/connectivity_state.cc b/src/core/lib/transport/connectivity_state.cc
index f328a6cdbb..652c26cf0a 100644
--- a/src/core/lib/transport/connectivity_state.cc
+++ b/src/core/lib/transport/connectivity_state.cc
@@ -29,8 +29,6 @@ grpc_tracer_flag grpc_connectivity_state_trace =
const char *grpc_connectivity_state_name(grpc_connectivity_state state) {
switch (state) {
- case GRPC_CHANNEL_INIT:
- return "INIT";
case GRPC_CHANNEL_IDLE:
return "IDLE";
case GRPC_CHANNEL_CONNECTING:
@@ -174,7 +172,6 @@ void grpc_connectivity_state_set(grpc_exec_ctx *exec_ctx,
grpc_connectivity_state_name(state), reason, error, error_string);
}
switch (state) {
- case GRPC_CHANNEL_INIT:
case GRPC_CHANNEL_CONNECTING:
case GRPC_CHANNEL_IDLE:
case GRPC_CHANNEL_READY: