From: Bart Van Assche Date: Tue, 5 Jun 2018 07:08:50 +0000 (+0200) Subject: Remove show_run_stats() because it has no callers X-Git-Tag: fio-3.8~53^2 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=b02e3212f23d0957f47e88b1a6cf7517dbd72e3f;hp=182cab24328ab22a5b76ba1edac2c801b83aeffb Remove show_run_stats() because it has no callers Signed-off-by: Bart Van Assche --- diff --git a/stat.c b/stat.c index c89a7f06..1effbfe9 100644 --- a/stat.c +++ b/stat.c @@ -1940,13 +1940,6 @@ void __show_run_stats(void) free(opt_lists); } -void show_run_stats(void) -{ - fio_sem_down(stat_sem); - __show_run_stats(); - fio_sem_up(stat_sem); -} - void __show_running_run_stats(void) { struct thread_data *td; diff --git a/stat.h b/stat.h index 8e7bcdb2..c5b81854 100644 --- a/stat.h +++ b/stat.h @@ -288,7 +288,6 @@ extern struct json_object * show_thread_status(struct thread_stat *ts, struct gr extern void show_group_stats(struct group_run_stats *rs, struct buf_output *); extern bool calc_thread_status(struct jobs_eta *je, int force); extern void display_thread_status(struct jobs_eta *je); -extern void show_run_stats(void); extern void __show_run_stats(void); extern void __show_running_run_stats(void); extern void show_running_run_stats(void);