CLEANUP: buffers: remove unused buffer_wq_lock lock

Commit 2104659 ("MEDIUM: buffer: remove the buffer_wq lock") removed
usage of the lock but not the lock itself. It's totally unused, let's
remove it.
This commit is contained in:
Willy Tarreau 2020-06-28 07:31:42 +02:00
parent c6e7a1b8e9
commit 4dc6c860b4
2 changed files with 0 additions and 2 deletions

View File

@ -36,7 +36,6 @@
extern struct pool_head *pool_head_buffer;
extern struct mt_list buffer_wq;
__decl_thread(extern HA_SPINLOCK_T buffer_wq_lock);
int init_buffer();
void buffer_dump(FILE *o, struct buffer *b, int from, int to);

View File

@ -24,7 +24,6 @@ struct pool_head *pool_head_buffer;
/* list of objects waiting for at least one buffer */
struct mt_list buffer_wq = LIST_HEAD_INIT(buffer_wq);
__decl_aligned_spinlock(buffer_wq_lock);
/* perform minimal intializations, report 0 in case of error, 1 if OK. */
int init_buffer()