Remove unnecessary locking statement