code: func (l *lockServer) removeEntryIfExists(nlrip nameLockRequesterInfoPair) {
  	// Check if entry is still in map (could have been removed altogether by 'concurrent' (R)Unlock of last entry)
  	if lri, ok := l.lockMap[nlrip.name]; ok {
  		if !l.removeEntry(nlrip.name, nlrip.lri.uid, &lri) {
  			// Remove failed, in case it is a:
  			if nlrip.lri.writer {
  				// Writer: this should never happen as the whole (mapped) entry should have been deleted
  				log.Println("Lock maintenance failed to remove entry for write lock (should never happen)", nlrip.name, nlrip.lri.uid, lri)
  			} // Reader: this can happen if multiple read locks were active and
  			// the one we are looking for has been released concurrently (so it is fine)
  		} // Remove went okay, all is fine
  	}
  }
docs: // Similar to removeEntry but only removes an entry only if the lock entry exists in map.