Kaynağa Gözat

cmap: Remove noop highest config version check

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Jan Friesse 8 yıl önce
ebeveyn
işleme
165d748c04
1 değiştirilmiş dosya ile 0 ekleme ve 7 silme
  1. 0 7
      exec/cmap.c

+ 0 - 7
exec/cmap.c

@@ -471,13 +471,6 @@ static void cmap_sync_activate (void)
 		return ;
 		return ;
 	}
 	}
 
 
-	if (cmap_highest_config_version_received == 0) {
-		log_printf(LOGSYS_LEVEL_DEBUG, "Other nodes version is 0 -> no action");
-
-		return ;
-	}
-
-
 	if (cmap_highest_config_version_received != cmap_my_config_version) {
 	if (cmap_highest_config_version_received != cmap_my_config_version) {
 		log_printf(LOGSYS_LEVEL_ERROR,
 		log_printf(LOGSYS_LEVEL_ERROR,
 		    "Received config version (%"PRIu64") is different than my config version (%"PRIu64")! Exiting",
 		    "Received config version (%"PRIu64") is different than my config version (%"PRIu64")! Exiting",