aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/surface/call.c
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2015-01-15 23:07:04 -0800
committerGravatar Yang Gao <yangg@google.com>2015-01-15 23:07:04 -0800
commit0aa22c3ce1e17b4c96cac35b0a2420604578534f (patch)
tree10417909fb90c1fcd97a0c5312e169f31831ddf3 /src/core/surface/call.c
parentd7c16868a5543e6248420e378344e17f3abc0361 (diff)
parent7f06f9eb85174c1a6fc27106379b8d1a190543b0 (diff)
Merge pull request #81 from ctiller/update
Merge master into branch
Diffstat (limited to 'src/core/surface/call.c')
-rw-r--r--src/core/surface/call.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/core/surface/call.c b/src/core/surface/call.c
index d8a34cf68d..eefce52aae 100644
--- a/src/core/surface/call.c
+++ b/src/core/surface/call.c
@@ -600,17 +600,6 @@ grpc_call_error grpc_call_server_end_initial_metadata(grpc_call *call,
return GRPC_CALL_OK;
}
-grpc_call_error grpc_call_accept(grpc_call *call, grpc_completion_queue *cq,
- void *finished_tag, gpr_uint32 flags) {
- grpc_call_error err;
-
- err = grpc_call_server_accept(call, cq, finished_tag);
- if (err != GRPC_CALL_OK) return err;
- err = grpc_call_server_end_initial_metadata(call, flags);
- if (err != GRPC_CALL_OK) return err;
- return GRPC_CALL_OK;
-}
-
void grpc_call_client_initial_metadata_complete(
grpc_call_element *surface_element) {
grpc_call *call = grpc_call_from_top_element(surface_element);