Commit 9496c015 authored by Dongli Zhang's avatar Dongli Zhang Committed by Jens Axboe

blk-mq: remove unused 'nr_expired' from blk_mq_hw_ctx

There is no usage of 'nr_expired'.

The 'nr_expired' was introduced by commit 1d9bd516 ("blk-mq: replace
timeout synchronization with a RCU and generation based scheme"). Its usage
was removed since commit 12f5b931 ("blk-mq: Remove generation
seqeunce").
Signed-off-by: default avatarDongli Zhang <dongli.zhang@oracle.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent f7c8a412
...@@ -57,7 +57,6 @@ struct blk_mq_hw_ctx { ...@@ -57,7 +57,6 @@ struct blk_mq_hw_ctx {
unsigned int queue_num; unsigned int queue_num;
atomic_t nr_active; atomic_t nr_active;
unsigned int nr_expired;
struct hlist_node cpuhp_dead; struct hlist_node cpuhp_dead;
struct kobject kobj; struct kobject kobj;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment