From: Kefu Chai Date: Fri, 24 Jul 2020 03:51:57 +0000 (+0800) Subject: msg/async/crypto_onwire: drop unused member variable X-Git-Tag: v16.1.0~1619^2~17 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9b35cccec2bddf68bb3977e13ba96d4de31c07e6;p=ceph.git msg/async/crypto_onwire: drop unused member variable Signed-off-by: Kefu Chai --- diff --git a/src/msg/async/crypto_onwire.cc b/src/msg/async/crypto_onwire.cc index 4e42340603e7..6a9045dab501 100644 --- a/src/msg/async/crypto_onwire.cc +++ b/src/msg/async/crypto_onwire.cc @@ -162,7 +162,6 @@ ceph::bufferlist AES128GCM_OnWireTxHandler::authenticated_encrypt_final() // RX PART class AES128GCM_OnWireRxHandler : public ceph::crypto::onwire::RxHandler { - CephContext* const cct; std::unique_ptr ectx; nonce_t nonce; bool new_nonce_format; // 64-bit counter? @@ -173,8 +172,7 @@ public: const key_t& key, const nonce_t& nonce, bool new_nonce_format) - : cct(cct), - ectx(EVP_CIPHER_CTX_new(), EVP_CIPHER_CTX_free), + : ectx(EVP_CIPHER_CTX_new(), EVP_CIPHER_CTX_free), nonce(nonce), new_nonce_format(new_nonce_format) { ceph_assert_always(ectx); ceph_assert_always(key.size() * CHAR_BIT == 128);