From: Kefu Chai Date: Sat, 6 Apr 2019 08:33:54 +0000 (+0800) Subject: crimson/auth: remove unused AuthServer::get_supported_con_modes() X-Git-Tag: v15.1.0~2987^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f618d5bd8bb80ab669a813a58ce85214ef17248b;p=ceph.git crimson/auth: remove unused AuthServer::get_supported_con_modes() Signed-off-by: Kefu Chai --- diff --git a/src/crimson/auth/AuthServer.h b/src/crimson/auth/AuthServer.h index ce24bd953367..7fa4cf4d3f8e 100644 --- a/src/crimson/auth/AuthServer.h +++ b/src/crimson/auth/AuthServer.h @@ -28,15 +28,6 @@ public: return {{CEPH_AUTH_NONE}, {CEPH_AUTH_NONE}}; } - // Get support connection modes for the given peer type and auth method - virtual void get_supported_con_modes( - int peer_type, - uint32_t auth_method, - std::vector *modes) { - // auth_registry.get_supported_modes(peer_type, auth_method, modes); - *modes = { CEPH_CON_MODE_CRC }; - } - // Get support connection modes for the given peer type and auth method virtual uint32_t pick_con_mode( int peer_type,