From: Leonid Chernin Date: Mon, 23 Mar 2026 10:57:43 +0000 (+0200) Subject: Revert "mon/MonClient: add get_monmap_required_features() helper" X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9306fdf9ead725774a20837941929846209a8f1d;p=ceph.git Revert "mon/MonClient: add get_monmap_required_features() helper" This reverts commit 958080913083af4805f0cc4114c5c96606b05212. Signed-off-by: Leonid Chernin --- diff --git a/src/mon/MonClient.h b/src/mon/MonClient.h index 9659ae5b1b72..3b78ea62ae27 100644 --- a/src/mon/MonClient.h +++ b/src/mon/MonClient.h @@ -807,12 +807,6 @@ public: return std::forward(cb)(monmap, std::forward(args)...); } - mon_feature_t get_monmap_required_features() { - return with_monmap([](const auto &monmap) { - return monmap.get_required_features(); - }); - } - void register_config_callback(md_config_t::config_callback fn); void register_config_notify_callback(std::function f) { config_notify_cb = f;