From: Jens Axboe Date: Fri, 22 May 2009 07:51:20 +0000 (+0200) Subject: Remove io_u->endpos X-Git-Tag: fio-1.27~20^2 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=3bfb53dd20223015916e9ade388a5f9d49b87172 Remove io_u->endpos It's only set in one location and never read. Signed-off-by: Jens Axboe --- diff --git a/fio.h b/fio.h index b1360dd3..22d670ef 100644 --- a/fio.h +++ b/fio.h @@ -145,7 +145,6 @@ struct io_u { void *buf; unsigned long buflen; unsigned long long offset; - unsigned long long endpos; /* * IO engine state, may be different from above when we get diff --git a/io_u.c b/io_u.c index 1e9018c4..47c02e0a 100644 --- a/io_u.c +++ b/io_u.c @@ -848,7 +848,6 @@ struct io_u *get_io_u(struct thread_data *td) /* * Set io data pointers. */ - io_u->endpos = io_u->offset + io_u->buflen; io_u->xfer_buf = io_u->buf; io_u->xfer_buflen = io_u->buflen;