unix: remove unnecessary static var init

wq doesn't have to be initialized, init_once() takes care of that.

Remove the initialization so it goes into .bss instead of .data.
This commit is contained in:
Ben Noordhuis 2012-11-29 16:51:01 +01:00
parent fa11db905a
commit 99a8d4a8c2

View File

@ -26,7 +26,7 @@ static uv_cond_t cond;
static uv_mutex_t mutex;
static uv_thread_t threads[4];
static ngx_queue_t exit_message;
static ngx_queue_t wq = { &wq, &wq };
static ngx_queue_t wq;
static volatile int initialized;