]> git.kaiwu.me - haproxy.git/commit
CLEANUP: stick-tables: Don't needlessly compute shard number in stksess_free()
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 12 Nov 2025 16:59:24 +0000 (17:59 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 14 Nov 2025 10:56:14 +0000 (11:56 +0100)
commit14a333c4f4a81161b9e100c1e7c4bb41e916ac6d
tree91611ed08bc75d37653a833a3da6f1556c325e77
parent346d6c3ac78b3c05c2de1b26382a72ebef185d31
CLEANUP: stick-tables: Don't needlessly compute shard number in stksess_free()

Since commit 0bda33a3e ("MINOR: stick-tables: remove the uneeded read lock
in stksess_free()"), the lock on the shard is no longer acquired. So it is
useless to still compture the shard number. The result is never used and can
be safely removed.
src/stick_table.c