From: Jens Axboe Date: Fri, 24 Oct 2014 05:47:01 +0000 (-0600) Subject: diskutil: get rid of disk_util_start_exit() X-Git-Tag: fio-2.1.14~36 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=98b4b0a286c2a8c77d9cefd84cfaf47544b5b9e0 diskutil: get rid of disk_util_start_exit() No need to wrap this in a function, just set the exit variable. Signed-off-by: Jens Axboe --- diff --git a/backend.c b/backend.c index 941a3ead..d19d870f 100644 --- a/backend.c +++ b/backend.c @@ -1981,7 +1981,7 @@ static void wait_for_helper_thread_exit(void) { void *ret; - disk_util_start_exit(); + helper_exit = 1; pthread_cond_signal(&helper_cond); pthread_join(helper_thread, &ret); } diff --git a/diskutil.h b/diskutil.h index 6b1ed6b0..8623fd72 100644 --- a/diskutil.h +++ b/diskutil.h @@ -129,8 +129,4 @@ static inline int update_io_ticks(void) } #endif -static inline void disk_util_start_exit(void) -{ - helper_exit = 1; -} #endif