From 0448c614c8ffb44868619d5e7015caaee0f72b4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Wed, 12 Feb 2020 09:33:08 +0200 Subject: [PATCH] MDEV-16264: Remove unused page_cleaner_t::is_started --- storage/innobase/buf/buf0flu.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/storage/innobase/buf/buf0flu.cc b/storage/innobase/buf/buf0flu.cc index 86c52b33738..7f7391ba9f0 100644 --- a/storage/innobase/buf/buf0flu.cc +++ b/storage/innobase/buf/buf0flu.cc @@ -161,8 +161,6 @@ struct page_cleaner_t { page_cleaner_slot_t slots. */ os_event_t is_finished; /*!< event to signal that all slots were finished. */ - os_event_t is_started; /*!< event to signal that - thread is started/exiting */ volatile ulint n_workers; /*!< number of worker threads in existence */ bool requested; /*!< true if requested pages @@ -2807,7 +2805,6 @@ buf_flush_page_cleaner_init(void) mutex_create(LATCH_ID_PAGE_CLEANER, &page_cleaner.mutex); page_cleaner.is_finished = os_event_create("pc_is_finished"); - page_cleaner.is_started = os_event_create("pc_is_started"); page_cleaner.n_slots = static_cast(srv_buf_pool_instances); ut_d(page_cleaner.n_disabled_debug = 0); @@ -3468,7 +3465,6 @@ thread_exit: mutex_destroy(&page_cleaner.mutex); os_event_destroy(page_cleaner.is_finished); - os_event_destroy(page_cleaner.is_started); buf_page_cleaner_is_active = false;