From 9b35cccec2bddf68bb3977e13ba96d4de31c07e6 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 24 Jul 2020 11:51:57 +0800 Subject: [PATCH] msg/async/crypto_onwire: drop unused member variable Signed-off-by: Kefu Chai --- src/msg/async/crypto_onwire.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/msg/async/crypto_onwire.cc b/src/msg/async/crypto_onwire.cc index 4e42340603e..6a9045dab50 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); -- 2.47.3