Skip to content

Commit

Permalink
Remove unused field
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuhiro-t committed Feb 22, 2021
1 parent d56b522 commit 51e95c8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/ngtcp2_map.c
Expand Up @@ -129,7 +129,6 @@ int ngtcp2_map_each(ngtcp2_map *map,

void ngtcp2_map_entry_init(ngtcp2_map_entry *entry, key_type key) {
entry->key = key;
entry->next = NULL;
}

/* FNV1a hash */
Expand Down
1 change: 0 additions & 1 deletion lib/ngtcp2_map.h
Expand Up @@ -42,7 +42,6 @@ typedef uint64_t key_type;
typedef struct ngtcp2_map_entry ngtcp2_map_entry;

struct ngtcp2_map_entry {
ngtcp2_map_entry *next;
key_type key;
};

Expand Down
1 change: 0 additions & 1 deletion lib/ngtcp2_strm.c
Expand Up @@ -54,7 +54,6 @@ int ngtcp2_strm_init(ngtcp2_strm *strm, int64_t stream_id, uint32_t flags,
strm->rx.window = strm->rx.max_offset = strm->rx.unsent_max_offset =
max_rx_offset;
strm->me.key = (uint64_t)stream_id;
strm->me.next = NULL;
strm->pe.index = NGTCP2_PQ_BAD_INDEX;
strm->mem = mem;
strm->app_error_code = 0;
Expand Down

0 comments on commit 51e95c8

Please sign in to comment.