2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Cleanup unused mctx.

memset task->name.
This commit is contained in:
Mark Andrews
2000-04-18 09:05:16 +00:00
parent 262e8ed36a
commit 9069fc6030

View File

@@ -71,7 +71,6 @@ struct isc_task {
unsigned int magic;
isc_taskmgr_t * manager;
isc_mutex_t lock;
isc_mem_t * mctx;
/* Locked by task lock. */
task_state_t state;
unsigned int references;
@@ -176,7 +175,7 @@ isc_task_create(isc_taskmgr_t *manager, unsigned int quantum,
task->quantum = quantum;
task->flags = 0;
#ifdef ISC_TASK_NAMES
task->name[0] = '\0';
memset(task->name, 0, sizeof task->name);
task->tag = NULL;
#endif
INIT_LINK(task, link);