Explorar o código

Remove cloned lines in main of main.c

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Masatake YAMATO %!s(int64=14) %!d(string=hai) anos
pai
achega
b8a7654ac9
Modificáronse 1 ficheiros con 0 adicións e 8 borrados
  1. 0 8
      exec/main.c

+ 0 - 8
exec/main.c

@@ -1685,14 +1685,6 @@ int main (int argc, char **argv, char **envp)
 		corosync_exit_error (AIS_DONE_MAINCONFIGREAD);
 	}
 
-	res = corosync_main_config_compatibility_read (objdb,
-		&minimum_sync_mode,
-		&error_string);
-	if (res == -1) {
-		log_printf (LOGSYS_LEVEL_ERROR, "%s", error_string);
-		corosync_exit_error (AIS_DONE_MAINCONFIGREAD);
-	}
-
 	/* create the main runtime object */
 	objdb->object_create (OBJECT_PARENT_HANDLE,
 		&object_runtime_handle,