aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/transport/chttp2/hpack_encoder.c
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-12-07 10:33:37 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-12-07 10:33:37 -0800
commit1a768777796ba7ed76558312601d25a2080fd8bd (patch)
treefc389d75bff599ee1bd18aa0ebcd179aa49db391 /src/core/transport/chttp2/hpack_encoder.c
parent311af8e281bdb7b272cf15f72af5c2249d2c3727 (diff)
Delete unused code
Diffstat (limited to 'src/core/transport/chttp2/hpack_encoder.c')
-rw-r--r--src/core/transport/chttp2/hpack_encoder.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/transport/chttp2/hpack_encoder.c b/src/core/transport/chttp2/hpack_encoder.c
index 28d5433d15..7575031e58 100644
--- a/src/core/transport/chttp2/hpack_encoder.c
+++ b/src/core/transport/chttp2/hpack_encoder.c
@@ -458,12 +458,6 @@ static void deadline_enc(grpc_chttp2_hpack_compressor *c, gpr_timespec deadline,
GRPC_MDELEM_UNREF(mdelem);
}
-gpr_slice grpc_chttp2_data_frame_create_empty_close(gpr_uint32 id) {
- gpr_slice slice = gpr_slice_malloc(9);
- fill_header(GPR_SLICE_START_PTR(slice), GRPC_CHTTP2_FRAME_DATA, id, 0, 1);
- return slice;
-}
-
static gpr_uint32 elems_for_bytes(gpr_uint32 bytes) {
return (bytes + 31) / 32;
}