projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6897af4
)
Declare stat_calc_lat_nu() static
author
Bart Van Assche
<bart.vanassche@wdc.com>
Tue, 17 Apr 2018 23:08:54 +0000
(16:08 -0700)
committer
Bart Van Assche
<bart.vanassche@wdc.com>
Wed, 18 Apr 2018 20:25:30 +0000
(13:25 -0700)
This was suggested by the sparse static analyzer.
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
stat.c
patch
|
blob
|
blame
|
history
diff --git
a/stat.c
b/stat.c
index 7b9dd3b1f1f1384e990ad02b4fe9a8bdfdc6769f..c89a7f06e74824f857ddcfd22a0d45e320fa5826 100644
(file)
--- a/
stat.c
+++ b/
stat.c
@@
-362,7
+362,7
@@
static void stat_calc_lat(struct thread_stat *ts, double *dst,
* To keep the terse format unaltered, add all of the ns latency
* buckets to the first us latency bucket
*/
-void stat_calc_lat_nu(struct thread_stat *ts, double *io_u_lat_u)
+
static
void stat_calc_lat_nu(struct thread_stat *ts, double *io_u_lat_u)
{
unsigned long ntotal = 0, total = ddir_rw_sum(ts->total_io_u);
int i;