projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add warning about potentially missing O_DIRECT support or bad alignment
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index 41b5cdbb04894192cb06e2d86a49bdf28d48be9d..2e9dac0db6b4aa0adae673a3b21d26173e48da3e 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-231,11
+231,6
@@
static int get_next_offset(struct thread_data *td, struct io_u *io_u)
return 0;
}
-static inline int is_power_of_2(unsigned int val)
-{
- return (val != 0 && ((val & (val - 1)) == 0));
-}
-
static unsigned int get_next_buflen(struct thread_data *td, struct io_u *io_u)
{
const int ddir = io_u->ddir;