diff options
author | Craig Tiller <ctiller@google.com> | 2015-06-25 08:53:38 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-06-25 08:53:38 -0700 |
commit | b032af0d000561ec5c91d1c2c378801c37d53262 (patch) | |
tree | 68e0d486d1c2dfb13bb51590c898d5bb0a83636d /src/core/transport/chttp2 | |
parent | 6e8c7e87ef5c63d76ee8ef6f5c348d7f517e54d8 (diff) |
Remove dead code
Diffstat (limited to 'src/core/transport/chttp2')
-rw-r--r-- | src/core/transport/chttp2/incoming_metadata.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/core/transport/chttp2/incoming_metadata.c b/src/core/transport/chttp2/incoming_metadata.c index ea5215b1bd..08b47f7dee 100644 --- a/src/core/transport/chttp2/incoming_metadata.c +++ b/src/core/transport/chttp2/incoming_metadata.c @@ -179,29 +179,3 @@ void grpc_chttp2_incoming_metadata_buffer_postprocess_sopb_and_begin_live_op( } } } - -#if 0 -void grpc_chttp2_parsing_add_metadata_batch( - grpc_chttp2_transport_parsing *transport_parsing, - grpc_chttp2_stream_parsing *stream_parsing) { - grpc_metadata_batch b; - - b.list.head = NULL; - /* Store away the last element of the list, so that in patch_metadata_ops - we can reconstitute the list. - We can't do list building here as later incoming metadata may reallocate - the underlying array. */ - b.list.tail = (void *)(gpr_intptr)stream_parsing->incoming_metadata_count; - b.garbage.head = b.garbage.tail = NULL; - b.deadline = stream_parsing->incoming_deadline; - stream_parsing->incoming_deadline = gpr_inf_future; - - grpc_sopb_add_metadata(&stream_parsing->data_parser.incoming_sopb, b); -} -#endif - -#if 0 -static void patch_metadata_ops(grpc_chttp2_stream_global *stream_global, - grpc_chttp2_stream_parsing *stream_parsing) { -} -#endif |