diff options
author | Mark D. Roth <roth@google.com> | 2016-11-03 08:33:17 -0700 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2016-11-03 08:33:17 -0700 |
commit | 6ad80579de9f995ec210f40447bffe986cd4cb98 (patch) | |
tree | c3eb75283418767c9436785675a08fb4670199b5 /src/core/ext | |
parent | e30baeb6a3de046ccd4d6120a2b2a2dba67aef82 (diff) |
Remove more now-unnecessary code.
Diffstat (limited to 'src/core/ext')
-rw-r--r-- | src/core/ext/client_channel/client_channel.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/core/ext/client_channel/client_channel.c b/src/core/ext/client_channel/client_channel.c index 1f27761b65..d53265bc9c 100644 --- a/src/core/ext/client_channel/client_channel.c +++ b/src/core/ext/client_channel/client_channel.c @@ -81,18 +81,8 @@ static void *method_parameters_copy(void *value) { return new_value; } -static int method_parameters_cmp(void *value1, void *value2) { - const method_parameters *v1 = value1; - const method_parameters *v2 = value2; - const int retval = gpr_time_cmp(v1->timeout, v2->timeout); - if (retval != 0) return retval; - if (v1->wait_for_ready > v2->wait_for_ready) return 1; - if (v1->wait_for_ready < v2->wait_for_ready) return -1; - return 0; -} - static const grpc_mdstr_hash_table_vtable method_parameters_vtable = { - gpr_free, method_parameters_copy, method_parameters_cmp}; + gpr_free, method_parameters_copy}; static void *method_parameters_create_from_json(const grpc_json *json) { wait_for_ready_value wait_for_ready = WAIT_FOR_READY_UNSET; |