Browse code

init_stats() doesn't check for a valid filename anymore. This is now done by dump_all_statistic()

ric authored on 28/08/2002 20:21:46
Showing 1 changed files
... ...
@@ -53,11 +53,6 @@ int init_stats(int nr_of_processes)
53 53
 	LOG(L_DBG,"init_stats(): initializing stats for %d processes\n", 
54 54
 		nr_of_processes);
55 55
 
56
-	if(!stat_file) {
57
-		LOG(L_ERR, "Invalid stats file\n");
58
-		return -1;
59
-	}
60
-
61 56
 
62 57
 	global_stats = shm_malloc(nr_of_processes*sizeof(struct stats_s));
63 58
 	if(!global_stats) {