From: Yufen Yu Date: Tue, 20 Oct 2020 09:22:56 +0000 (-0400) Subject: block: remove unused members for io_context X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=cb3a92da231bcf55c243d00fa619ee36281b0001;p=linux.git block: remove unused members for io_context After removing blk-sq code, there is no user of nr_batch_requests and last_waited in kernel. Signed-off-by: Yufen Yu Signed-off-by: Jens Axboe --- diff --git a/include/linux/iocontext.h b/include/linux/iocontext.h index 1dcd9198beb7f..0a9dc40b7be84 100644 --- a/include/linux/iocontext.h +++ b/include/linux/iocontext.h @@ -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;