From d55954f4857da597b2620f2417678eec47285666 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 24 Oct 2006 10:31:37 +0200 Subject: [PATCH] [PATCH] f->fileno is not used Remove it Signed-off-by: Jens Axboe --- fio.h | 2 -- init.c | 1 - 2 files changed, 3 deletions(-) diff --git a/fio.h b/fio.h index 015af8db..dc2f84ba 100644 --- a/fio.h +++ b/fio.h @@ -151,8 +151,6 @@ struct fio_file { unsigned long *file_map; unsigned int num_maps; - - int fileno; }; /* diff --git a/init.c b/init.c index e314d6c0..76d8d816 100644 --- a/init.c +++ b/init.c @@ -187,7 +187,6 @@ static int add_job(struct thread_data *td, const char *jobname, int job_add_num) for_each_file(td, f, i) { memset(f, 0, sizeof(*f)); f->fd = -1; - f->fileno = i; if (td->filename) sprintf(tmp + len, "%s", td->filename); -- 2.25.1