From: Aki Tuomi Date: Sat, 8 Aug 2015 17:28:16 +0000 (+0300) Subject: Remove lock where it does not belong X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~62^2~20^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2682%2Fhead;p=thirdparty%2Fpdns.git Remove lock where it does not belong --- diff --git a/pdns/pkcs11signers.cc b/pdns/pkcs11signers.cc index b11c14946b..e16c273977 100644 --- a/pdns/pkcs11signers.cc +++ b/pdns/pkcs11signers.cc @@ -688,7 +688,6 @@ Pkcs11Token::Pkcs11Token(const std::shared_ptr& slot, const std::str this->d_label = label; this->d_err = 0; this->d_loaded = false; - Lock l(d_slot->m()); if (this->d_slot->LoggedIn()) LoadAttributes(); }