Nuke unused code

pull/4372/head
Craig Tiller 9 years ago
parent 3ca448925b
commit 4921d0eeda
  1. 10
      src/core/transport/metadata_batch.c
  2. 2
      src/core/transport/metadata_batch.h

@ -133,16 +133,6 @@ void grpc_metadata_batch_link_tail(grpc_metadata_batch *batch,
link_tail(&batch->list, storage); link_tail(&batch->list, storage);
} }
void grpc_metadata_batch_merge(grpc_metadata_batch *target,
grpc_metadata_batch *to_add) {
grpc_linked_mdelem *l;
grpc_linked_mdelem *next;
for (l = to_add->list.head; l; l = next) {
next = l->next;
link_tail(&target->list, l);
}
}
void grpc_metadata_batch_move(grpc_metadata_batch *dst, void grpc_metadata_batch_move(grpc_metadata_batch *dst,
grpc_metadata_batch *src) { grpc_metadata_batch *src) {
*dst = *src; *dst = *src;

@ -63,8 +63,6 @@ typedef struct grpc_metadata_batch {
void grpc_metadata_batch_init(grpc_metadata_batch *batch); void grpc_metadata_batch_init(grpc_metadata_batch *batch);
void grpc_metadata_batch_destroy(grpc_metadata_batch *batch); void grpc_metadata_batch_destroy(grpc_metadata_batch *batch);
void grpc_metadata_batch_merge(grpc_metadata_batch *target,
grpc_metadata_batch *add);
void grpc_metadata_batch_clear(grpc_metadata_batch *batch); void grpc_metadata_batch_clear(grpc_metadata_batch *batch);
int grpc_metadata_batch_is_empty(grpc_metadata_batch *batch); int grpc_metadata_batch_is_empty(grpc_metadata_batch *batch);

Loading…
Cancel
Save