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:
17a6b70
)
io_u: we don't need to set power_2 to false
author
Jens Axboe
<axboe@fb.com>
Fri, 17 Mar 2017 16:33:37 +0000
(10:33 -0600)
committer
Jens Axboe
<axboe@fb.com>
Fri, 17 Mar 2017 16:33:37 +0000
(10:33 -0600)
We always set it before checking, no need for initializing it.
Signed-off-by: Jens Axboe <axboe@fb.com>
io_u.c
patch
|
blob
|
blame
|
history
diff --git
a/io_u.c
b/io_u.c
index ab0f138313cddad030e7b0747febedf6777ca2c5..5f01c1b674ebecd8612c9681411dc9773dd5a493 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-533,7
+533,7
@@
static unsigned int __get_next_buflen(struct thread_data *td, struct io_u *io_u,
unsigned int buflen = 0;
unsigned int minbs, maxbs;
uint64_t frand_max, r;
- bool power_2
= false
;
+ bool power_2;
assert(ddir_rw(ddir));