From: runsisi Date: Sat, 31 Mar 2018 10:36:43 +0000 (+0800) Subject: auth/cephx: remove unused member method X-Git-Tag: v14.1.0~1148^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f1d741c8238285cec685d0c81d95cae982e0cd59;p=ceph.git auth/cephx: remove unused member method Signed-off-by: runsisi --- diff --git a/src/auth/cephx/CephxKeyServer.cc b/src/auth/cephx/CephxKeyServer.cc index cba7be3ce134..e189229d9861 100644 --- a/src/auth/cephx/CephxKeyServer.cc +++ b/src/auth/cephx/CephxKeyServer.cc @@ -233,14 +233,6 @@ bool KeyServer::get_caps(const EntityName& name, const string& type, return data.get_caps(cct, name, type, caps_info); } -bool KeyServer::get_service_secret(uint32_t service_id, - ExpiringCryptoKey& secret, uint64_t& secret_id) const -{ - std::scoped_lock l{lock}; - - return data.get_service_secret(cct, service_id, secret, secret_id); -} - bool KeyServer::get_service_secret(uint32_t service_id, CryptoKey& secret, uint64_t& secret_id) const { diff --git a/src/auth/cephx/CephxKeyServer.h b/src/auth/cephx/CephxKeyServer.h index 0e61735144be..a240944fbd0c 100644 --- a/src/auth/cephx/CephxKeyServer.h +++ b/src/auth/cephx/CephxKeyServer.h @@ -218,8 +218,6 @@ public: CryptoKey& service_secret, uint64_t secret_id); /* get current secret for specific service type */ - bool get_service_secret(uint32_t service_id, ExpiringCryptoKey& service_key, - uint64_t& secret_id) const; bool get_service_secret(uint32_t service_id, CryptoKey& service_key, uint64_t& secret_id) const; bool get_service_secret(uint32_t service_id, uint64_t secret_id,