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/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c43353974c605a59df822596ef975a80dc15a41d;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(); }