소스 검색

main: drop unrequired vars

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Fabio M. Di Nitto 14 년 전
부모
커밋
b713a68a40
1개의 변경된 파일0개의 추가작업 그리고 6개의 파일을 삭제
  1. 0 6
      exec/main.c

+ 0 - 6
exec/main.c

@@ -144,10 +144,6 @@ static unsigned int service_count = 32;
 
 static struct totem_logging_configuration totem_logging_configuration;
 
-static int num_config_modules;
-
-static struct config_iface_ver0 *config_modules[MAX_DYNAMIC_SERVICES];
-
 static struct corosync_api_v1 *api = NULL;
 
 static enum cs_sync_mode minimum_sync_mode;
@@ -1115,8 +1111,6 @@ int main (int argc, char **argv, char **envp)
 	 */
 	api = apidef_get ();
 
-	num_config_modules = 0;
-
 	res = coroparse_configparse(&error_string);
 	if (res == -1) {
 		log_printf (LOGSYS_LEVEL_ERROR, "%s", error_string);