CLEANUP: pools: remove unused arguments to pool_evict_from_cache()
authorWilly Tarreau <w@1wt.eu>
Mon, 19 Apr 2021 05:49:50 +0000 (07:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 19 Apr 2021 13:24:33 +0000 (15:24 +0200)
commitfff96b441f73195f1407c38ba2ad7d904a6458f4
tree4dd761dc103ce849a8dd3d1c3b7291f658941344
parent3e970b11ebc402ef6e23c50794db823143e0c526
CLEANUP: pools: remove unused arguments to pool_evict_from_cache()

In commit fb117e6a8 ("MEDIUM: memory: don't let pool_put_to_cache() free
the objects itself") pool_evict_from_cache() was introduced with no
argument, yet the only call place passes it the pool, the pointer and
the index number!

Let's remove these as they even let the reader think that the function
does something specific to the current pool while it's not the case.
include/haproxy/pool.h