... | ... |
@@ -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) { |