From: Jens Axboe Date: Tue, 24 Oct 2006 08:31:37 +0000 (+0200) Subject: [PATCH] f->fileno is not used X-Git-Tag: fio-1.8~50 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=d55954f4857da597b2620f2417678eec47285666 [PATCH] f->fileno is not used Remove it Signed-off-by: Jens Axboe --- 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);