summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDongli Zhang <dongli.zhang@oracle.com>2019-03-19 23:05:18 +0800
committerJens Axboe <axboe@kernel.dk>2019-03-19 09:04:06 -0600
commit9496c015ed39ddfce971d63a1442e6d258504a7d (patch)
tree4fae014fec80fd720195769ea939601340849f1a /include
parentf7c8a4120eedf24c36090b7542b179ff7a649219 (diff)
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 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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/blk-mq.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h
index b0c814bcc7e3..35359697318b 100644
--- a/include/linux/blk-mq.h
+++ b/include/linux/blk-mq.h
@@ -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;