mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-21 17:39:39 -04:00
CLEANUP: peers: Remove unused static function free_dcache_tx
The function was added in commit6c39198b57, but was also used within a single function `free_dcache` which was unused itself. see issue #301 see commit10ce0c2f31which removed `free_dcache`
This commit is contained in:
parent
10ce0c2f31
commit
d02ffe9b6d
1 changed files with 0 additions and 7 deletions
|
|
@ -2851,13 +2851,6 @@ static struct dcache_tx *new_dcache_tx(size_t max_entries)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static void free_dcache_tx(struct dcache_tx *dc)
|
||||
{
|
||||
free(dc->entries);
|
||||
dc->entries = NULL;
|
||||
free(dc);
|
||||
}
|
||||
|
||||
/*
|
||||
* Allocate a cache of dictionary entries with <name> as name and <max_entries>
|
||||
* as maximum of entries.
|
||||
|
|
|
|||
Loading…
Reference in a new issue