Skip to content

Commit 3a427e9

Browse files
authored
Merge pull request #1889 from HideoYamauchi/trac5267-5
Low: storage-mon: Remove unnecessary code and fix typos.
2 parents c33c416 + c3c1f1a commit 3a427e9

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

tools/storage_mon.c

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -318,12 +318,7 @@ static int32_t sigchld_handler(int32_t sig, void *data)
318318
daemon_check_first_all_devices = TRUE;
319319
}
320320
}
321-
#if 0
322-
if (shutting_down == FALSE) {
323-
finished_count++;
324-
test_forks[index] = 0;
325-
}
326-
#endif
321+
327322
finished_count++;
328323
test_forks[index] = 0;
329324

@@ -521,7 +516,7 @@ static int test_device_main(gpointer data)
521516
}
522517
}
523518
} else {
524-
/* Rrun the child process timeout watch timer. */
519+
/* Run the child process timeout watch timer. */
525520
qb_loop_timer_add(storage_mon_poll_handle, QB_LOOP_MED, timeout * QB_TIME_NS_IN_SEC, NULL, child_timeout_handler, &expire_handle);
526521
}
527522
}

0 commit comments

Comments
 (0)