]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/auth: remove unused AuthServer::get_supported_con_modes()
authorKefu Chai <kchai@redhat.com>
Sat, 6 Apr 2019 08:33:54 +0000 (16:33 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 6 Apr 2019 13:40:45 +0000 (21:40 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/auth/AuthServer.h

index ce24bd953367cf507fc387798eb9b5043858a86c..7fa4cf4d3f8e1d61e3064f64552d01f41f21d936 100644 (file)
@@ -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<uint32_t> *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,