mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 20:46:11 +02:00
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:
parent
c6e7a1b8e9
commit
4dc6c860b4
@ -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);
|
||||
|
||||
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user