diff --git a/src/peers.c b/src/peers.c index e2581a73b..52e2a8ba4 100644 --- a/src/peers.c +++ b/src/peers.c @@ -2889,18 +2889,6 @@ static struct dcache *new_dcache(size_t max_entries) return NULL; } -/* - * Deallocate a cache of dictionary entries. - */ -static inline void free_dcache(struct dcache *dc) -{ - free_dcache_tx(dc->tx); - dc->tx = NULL; - free(dc->rx); dc->rx = NULL; - free(dc); -} - - /* * Look for the dictionary entry with the value of in cache of dictionary * entries used upon transmission.