aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar David G. Quintas <dgq@google.com>2017-09-07 15:58:08 -0700
committerGravatar GitHub <noreply@github.com>2017-09-07 15:58:08 -0700
commit7e8dec3d443886c01a03f7703dac2f96078556b7 (patch)
tree9d1621756fcb52e5822ff112fa391f4ded93f728
parent41630a29507c8dd5b6110f0397b346b7feab442b (diff)
parentb9f99f0de2ac5ff08de722be6f3baa37af42bc77 (diff)
Merge pull request #12437 from dgquintas/fix_concurrent_merges
Fix use of grpc_channel_filter from concurrent merges
-rw-r--r--test/core/channel/channel_stack_builder_test.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/core/channel/channel_stack_builder_test.c b/test/core/channel/channel_stack_builder_test.c
index be6afb7c07..682efd1438 100644
--- a/test/core/channel/channel_stack_builder_test.c
+++ b/test/core/channel/channel_stack_builder_test.c
@@ -59,10 +59,6 @@ static void channel_func(grpc_exec_ctx *exec_ctx, grpc_channel_element *elem,
GRPC_CLOSURE_SCHED(exec_ctx, op->on_consumed, GRPC_ERROR_NONE);
}
-static char *get_peer(grpc_exec_ctx *exec_ctx, grpc_call_element *elem) {
- return gpr_strdup("peer");
-}
-
bool g_replacement_fn_called = false;
bool g_original_fn_called = false;
void set_arg_once_fn(grpc_channel_stack *channel_stack,
@@ -94,7 +90,6 @@ const grpc_channel_filter replacement_filter = {
0,
channel_init_func,
channel_destroy_func,
- get_peer,
grpc_channel_next_get_info,
"filter_name"};
@@ -108,7 +103,6 @@ const grpc_channel_filter original_filter = {
0,
channel_init_func,
channel_destroy_func,
- get_peer,
grpc_channel_next_get_info,
"filter_name"};