From: Vincent Fu Date: Wed, 14 Sep 2022 17:50:52 +0000 (-0700) Subject: gettime: cleanups X-Git-Tag: fio-3.33~38 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=9e0ad34413bb1a4f4e02a62ed81d665130879bf1;p=fio.git gettime: cleanups Fix a comment and get rid of the extra new lines in the debug print. Signed-off-by: Vincent Fu --- diff --git a/gettime.c b/gettime.c index 14462420..8993be16 100644 --- a/gettime.c +++ b/gettime.c @@ -313,7 +313,7 @@ static int calibrate_cpu_clock(void) max_ticks = MAX_CLOCK_SEC * cycles_per_msec * 1000ULL; max_mult = ULLONG_MAX / max_ticks; - dprint(FD_TIME, "\n\nmax_ticks=%llu, __builtin_clzll=%d, " + dprint(FD_TIME, "max_ticks=%llu, __builtin_clzll=%d, " "max_mult=%llu\n", max_ticks, __builtin_clzll(max_ticks), max_mult); @@ -335,7 +335,7 @@ static int calibrate_cpu_clock(void) /* * Find the greatest power of 2 clock ticks that is less than the - * ticks in MAX_CLOCK_SEC_2STAGE + * ticks in MAX_CLOCK_SEC */ max_cycles_shift = max_cycles_mask = 0; tmp = MAX_CLOCK_SEC * 1000ULL * cycles_per_msec;