Skip to content

Commit

Permalink
io_u: we don't need to set power_2 to false
Browse files Browse the repository at this point in the history
We always set it before checking, no need for initializing it.

Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
axboe committed Mar 17, 2017
1 parent 17a6b70 commit 7c96135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io_u.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down

0 comments on commit 7c96135

Please sign in to comment.