From 7a4e480d8875a31bee6f2a39c87c25e276cec616 Mon Sep 17 00:00:00 2001 From: Phillip Chen Date: Tue, 21 Jan 2020 11:00:17 -0700 Subject: [PATCH] Whitespace standardization Remove trailing whitespace. --- fio.h | 2 +- server.c | 2 +- stat.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fio.h b/fio.h index 6a5ead4d..c0505709 100644 --- a/fio.h +++ b/fio.h @@ -460,7 +460,7 @@ struct thread_data { CUdevice cu_dev; CUcontext cu_ctx; CUdeviceptr dev_mem_ptr; -#endif +#endif }; diff --git a/server.c b/server.c index 1a070e56..0a036a6a 100644 --- a/server.c +++ b/server.c @@ -1262,7 +1262,7 @@ static int handle_connection(struct sk_out *sk_out) _exit(ret); } -/* get the address on this host bound by the input socket, +/* get the address on this host bound by the input socket, * whether it is ipv6 or ipv4 */ static int get_my_addr_str(int sk) diff --git a/stat.c b/stat.c index 4d3b728c..c6b6fe95 100644 --- a/stat.c +++ b/stat.c @@ -1009,7 +1009,7 @@ static void show_thread_status_normal(struct thread_stat *ts, if (!ddir_rw_sum(ts->io_bytes) && !ddir_rw_sum(ts->total_io_u)) return; - + memset(time_buf, 0, sizeof(time_buf)); time(&time_p); @@ -2782,7 +2782,7 @@ void add_clat_sample(struct thread_data *td, enum fio_ddir ddir, if (!hw->hist_last) hw->hist_last = elapsed; this_window = elapsed - hw->hist_last; - + if (this_window >= iolog->hist_msec) { uint64_t *io_u_plat; struct io_u_plat_entry *dst; -- 2.25.1