diff --git a/include/haproxy/dynbuf.h b/include/haproxy/dynbuf.h index fb72b0a9b..79e64453e 100644 --- a/include/haproxy/dynbuf.h +++ b/include/haproxy/dynbuf.h @@ -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); diff --git a/src/buffer.c b/src/buffer.c index 0b3b69c1a..ad2cde926 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -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()