remove a couple unnecessary locks

This commit is contained in:
Kristina
2011-05-13 14:46:52 -04:00
parent 8f2db1d98c
commit 4e1187f46b
2 changed files with 1 additions and 5 deletions

View File

@@ -359,7 +359,6 @@ namespace mongo {
multiCommand(electCmd, L);
{
RSBase::lock lk(&rs);
for( list<Target>::iterator i = L.begin(); i != L.end(); i++ ) {
DEV log() << "replSet elect res: " << i->result.toString() << rsLog;
if( i->ok ) {