blk-mq: remove unused 'nr_expired' from blk_mq_hw_ctx
authorDongli Zhang <dongli.zhang@oracle.com>
Tue, 19 Mar 2019 15:05:18 +0000 (23:05 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 Mar 2019 15:04:06 +0000 (09:04 -0600)
There is no usage of 'nr_expired'.

The 'nr_expired' was introduced by commit 1d9bd5161ba3 ("blk-mq: replace
timeout synchronization with a RCU and generation based scheme"). Its usage
was removed since commit 12f5b9314545 ("blk-mq: Remove generation
seqeunce").

Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blk-mq.h

index b0c814bcc7e3ed903f6b78ca24885ce9c67cba08..35359697318bdd035f683d068c2509bbd745f433 100644 (file)
@@ -57,7 +57,6 @@ struct blk_mq_hw_ctx {
        unsigned int            queue_num;
 
        atomic_t                nr_active;
-       unsigned int            nr_expired;
 
        struct hlist_node       cpuhp_dead;
        struct kobject          kobj;