commit | 254321183019117f90360cc18a810c22a46dab01 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Apr 15 19:48:44 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Apr 19 15:24:33 2021 +0200 |
tree | 82c31ce95eaa05953857a3c2b3c349270485c1e7 | |
parent | 8ee9df57db622d518713c68cf7345794ed744330 [diff] |
CLEANUP: pools: move the lock to the only __pool_get_first() that needs it Now that __pool_alloc() only surrounds __pool_get_first() with the lock, let's move it to the only variant that requires it and remove the ugly ifdefs from the function. This is safe because nobody else calls this function.