diff --git a/src/stick_table.c b/src/stick_table.c index 00049d1c3..08a22e408 100644 --- a/src/stick_table.c +++ b/src/stick_table.c @@ -130,9 +130,7 @@ void stksess_free(struct stktable *t, struct stksess *ts) /* make the compiler happy when shard is not used without threads */ ALREADY_CHECKED(shard); - HA_RWLOCK_RDLOCK(STK_TABLE_LOCK, &t->shards[shard].sh_lock); __stksess_free(t, ts); - HA_RWLOCK_RDUNLOCK(STK_TABLE_LOCK, &t->shards[shard].sh_lock); } /*