It's only set in one location and never read.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
void *buf;
unsigned long buflen;
unsigned long long offset;
void *buf;
unsigned long buflen;
unsigned long long offset;
- unsigned long long endpos;
/*
* IO engine state, may be different from above when we get
/*
* IO engine state, may be different from above when we get
/*
* Set io data pointers.
*/
/*
* 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;
io_u->xfer_buf = io_u->buf;
io_u->xfer_buflen = io_u->buflen;