From b02e3212f23d0957f47e88b1a6cf7517dbd72e3f Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 5 Jun 2018 09:08:50 +0200 Subject: [PATCH] Remove show_run_stats() because it has no callers Signed-off-by: Bart Van Assche --- stat.c | 7 ------- stat.h | 1 - 2 files changed, 8 deletions(-) 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); -- 2.25.1