From f1d741c8238285cec685d0c81d95cae982e0cd59 Mon Sep 17 00:00:00 2001 From: runsisi Date: Sat, 31 Mar 2018 18:36:43 +0800 Subject: [PATCH] auth/cephx: remove unused member method Signed-off-by: runsisi --- src/auth/cephx/CephxKeyServer.cc | 8 -------- src/auth/cephx/CephxKeyServer.h | 2 -- 2 files changed, 10 deletions(-) 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, -- 2.47.3