diff --git a/service/storage_service.hh b/service/storage_service.hh index 5db2b7499b..4c786ba91a 100644 --- a/service/storage_service.hh +++ b/service/storage_service.hh @@ -339,13 +339,6 @@ public: void register_client_shutdown_hook(std::string name, client_shutdown_hook hook) { _client_shutdown_hooks.push_back({std::move(name), std::move(hook)}); } - void unregister_client_shutdown_hook(std::string name) { - auto it = std::find_if(_client_shutdown_hooks.begin(), _client_shutdown_hooks.end(), - [&name] (const std::pair& hook) { return hook.first == name; }); - if (it != _client_shutdown_hooks.end()) { - _client_shutdown_hooks.erase(it); - } - } private: future<> do_stop_ms(); future<> do_stop_stream_manager();