lightnvm: remove unnecessary field from nvm_rq
authorJavier González <javier@cnexlabs.com>
Fri, 5 Jan 2018 13:16:01 +0000 (14:16 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 5 Jan 2018 15:50:12 +0000 (08:50 -0700)
Remove the wait filed in nvm_rq. It is not used anymore, as targets rely
on the functionality provided by the LightNVM subsystem when sending
sync I/O.

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/lightnvm.h

index 97ceb841e9a0c281f6122bf5d6b855055d947919..07cdb05a9a87319a0e303a34f5c85f4ce71c7eaf 100644 (file)
@@ -233,7 +233,6 @@ struct nvm_rq {
        void *meta_list;
        dma_addr_t dma_meta_list;
 
-       struct completion *wait;
        nvm_end_io_fn *end_io;
 
        uint8_t opcode;