CS-16499: removed useless txn.commit statement. Used to call it to ensure that the lock() on nic object will get removed even in case when we don't do the DB update. But our Transaction code does it automatic

This commit is contained in:
Alena Prokharchyk 2012-10-19 16:29:15 -07:00
parent 597bc8c66c
commit 705130e42c

View File

@ -2261,9 +2261,6 @@ public class NetworkManagerImpl implements NetworkManager, NetworkService, Manag
updateNic(nic, network.getId(), -1);
txn.commit();
}
} else {
//commiting the empty transaction here as we have to release the lock we've held
txn.commit();
}
}