[PATCH] f->fileno is not used
authorJens Axboe <jens.axboe@oracle.com>
Tue, 24 Oct 2006 08:31:37 +0000 (10:31 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 24 Oct 2006 08:31:37 +0000 (10:31 +0200)
Remove it

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fio.h
init.c

diff --git a/fio.h b/fio.h
index 015af8db476a5121a485bcfd349cb4efee1e1ec6..dc2f84bad5778ff72252ecbb341dd6fd428d1bc8 100644 (file)
--- 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 e314d6c0a74067904e8beacc3f832a48085e2772..76d8d816a62dff135518d77e216e9201fada335d 100644 (file)
--- 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);