]> git.baikalelectronics.ru Git - kernel.git/commitdiff
block: remove unused members for io_context
authorYufen Yu <yuyufen@huawei.com>
Tue, 20 Oct 2020 09:22:56 +0000 (05:22 -0400)
committerJens Axboe <axboe@kernel.dk>
Tue, 20 Oct 2020 13:10:14 +0000 (07:10 -0600)
After removing blk-sq code, there is no user of nr_batch_requests
and last_waited in kernel.

Signed-off-by: Yufen Yu <yuyufen@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/iocontext.h

index 1dcd9198beb7faf30a820f65e811ba3eb6d0bea0..0a9dc40b7be84e67045474b17d82ae270fec6abe 100644 (file)
@@ -106,12 +106,6 @@ struct io_context {
 
        unsigned short ioprio;
 
-       /*
-        * For request batching
-        */
-       int nr_batch_requests;     /* Number of requests left in the batch */
-       unsigned long last_waited; /* Time last woken after wait for request */
-
        struct radix_tree_root  icq_tree;
        struct io_cq __rcu      *icq_hint;
        struct hlist_head       icq_list;