diff options
author | Mark D. Roth <roth@google.com> | 2016-05-03 12:23:08 -0700 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2016-05-03 12:23:08 -0700 |
commit | 7cae1f7198abd0f7048c8cc4e5946afbacc36b0b (patch) | |
tree | e794459e01b9aba25c71ec479c2d0e6c1edacce0 /test | |
parent | 2c04262ee050441ac8fb57cf1ab42fac8e53ce49 (diff) |
Remove some unneeded code from an earlier iteration of this code.
Diffstat (limited to 'test')
-rw-r--r-- | test/core/end2end/cq_verifier.c | 8 | ||||
-rw-r--r-- | test/core/end2end/cq_verifier.h | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/test/core/end2end/cq_verifier.c b/test/core/end2end/cq_verifier.c index 5f1a33242e..77afe588d7 100644 --- a/test/core/end2end/cq_verifier.c +++ b/test/core/end2end/cq_verifier.c @@ -107,14 +107,6 @@ int contains_metadata(grpc_metadata_array *array, const char *key, return has_metadata(array->metadata, array->count, key, value); } -int contains_metadata_key(grpc_metadata_array *array, const char *key) { - for (size_t i = 0; i < array->count; ++i) { - if (strcmp(array->metadata[i].key, key) == 0) - return 1; - } - return 0; -} - static gpr_slice merge_slices(gpr_slice *slices, size_t nslices) { size_t i; size_t len = 0; diff --git a/test/core/end2end/cq_verifier.h b/test/core/end2end/cq_verifier.h index a54065950d..b3e07c45a5 100644 --- a/test/core/end2end/cq_verifier.h +++ b/test/core/end2end/cq_verifier.h @@ -62,6 +62,5 @@ void cq_expect_completion(cq_verifier *v, void *tag, int success); int byte_buffer_eq_string(grpc_byte_buffer *byte_buffer, const char *string); int contains_metadata(grpc_metadata_array *array, const char *key, const char *value); -int contains_metadata_key(grpc_metadata_array *array, const char *key); #endif /* GRPC_TEST_CORE_END2END_CQ_VERIFIER_H */ |