From 99585c9baeb16db43d3df167b98b06a7794e26c0 Mon Sep 17 00:00:00 2001 From: osku Date: Fri, 21 Apr 2006 07:04:02 +0000 Subject: [PATCH] Remove srv_sys->operational since it is unused. --- include/srv0srv.h | 3 --- srv/srv0srv.c | 5 ----- 2 files changed, 8 deletions(-) diff --git a/include/srv0srv.h b/include/srv0srv.h index 47acadcd286..2f2bc316873 100644 --- a/include/srv0srv.h +++ b/include/srv0srv.h @@ -546,9 +546,6 @@ struct export_var_struct{ /* The server system struct */ struct srv_sys_struct{ - os_event_t operational; /* created threads must wait for the - server to become operational by - waiting for this event */ srv_table_t* threads; /* server thread table */ UT_LIST_BASE_NODE_T(que_thr_t) tasks; /* task queue */ diff --git a/srv/srv0srv.c b/srv/srv0srv.c index 9d7b5914b95..cacaebaea2b 100644 --- a/srv/srv0srv.c +++ b/srv/srv0srv.c @@ -887,10 +887,6 @@ srv_init(void) srv_meter_foreground[i] = 250; } - srv_sys->operational = os_event_create(NULL); - - ut_a(srv_sys->operational); - UT_LIST_INIT(srv_sys->tasks); /* create dummy table and index for old-style infimum and supremum */ @@ -2188,7 +2184,6 @@ srv_master_thread( mutex_exit(&kernel_mutex); - os_event_set(srv_sys->operational); loop: /*****************************************************************/ /* ---- When there is database activity by users, we cycle in this