diff options
author | Jens Axboe | 2018-04-13 16:24:29 -0600 |
---|---|---|
committer | Jens Axboe | 2018-04-14 22:34:27 -0600 |
commit | 1894e916546df0efec9890a5c9954f4ad281494c (patch) | |
tree | 427a72cde041a42eb7c720a3a95021919b8780b0 /drivers/block/loop.h | |
parent | 1dc3039bc87ae7d19a990c3ee71cfd8a9068f428 (diff) |
loop: remove cmd->rq member
We can always get at the request from the payload, no need to store
a pointer to it.
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/loop.h')
-rw-r--r-- | drivers/block/loop.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/loop.h b/drivers/block/loop.h index 0f45416e4fcf..b78de9879f4f 100644 --- a/drivers/block/loop.h +++ b/drivers/block/loop.h @@ -66,7 +66,6 @@ struct loop_device { struct loop_cmd { struct kthread_work work; - struct request *rq; bool use_aio; /* use AIO interface to handle I/O */ atomic_t ref; /* only for aio */ long ret; |