summaryrefslogtreecommitdiff
path: root/test/submit-reuse.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/submit-reuse.c')
-rw-r--r--test/submit-reuse.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/submit-reuse.c b/test/submit-reuse.c
index ca30e98..d5ccdd4 100644
--- a/test/submit-reuse.c
+++ b/test/submit-reuse.c
@@ -26,13 +26,11 @@ struct thread_data {
static void *flusher(void *__data)
{
struct thread_data *data = __data;
- int i = 0;
while (!data->do_exit) {
posix_fadvise(data->fd1, 0, FILE_SIZE, POSIX_FADV_DONTNEED);
posix_fadvise(data->fd2, 0, FILE_SIZE, POSIX_FADV_DONTNEED);
usleep(10);
- i++;
}
return NULL;