Skip to content

Commit 9496c01

Browse files
Dongli Zhangaxboe
authored andcommitted
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 1d9bd51 ("blk-mq: replace timeout synchronization with a RCU and generation based scheme"). Its usage was removed since commit 12f5b93 ("blk-mq: Remove generation seqeunce"). Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent f7c8a41 commit 9496c01

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/linux/blk-mq.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ struct blk_mq_hw_ctx {
5757
unsigned int queue_num;
5858

5959
atomic_t nr_active;
60-
unsigned int nr_expired;
6160

6261
struct hlist_node cpuhp_dead;
6362
struct kobject kobj;

0 commit comments

Comments
 (0)