diff mbox series

[1/1] blk-mq: remove unused 'nr_expired' from blk_mq_hw_ctx

Message ID 1553007918-5026-1-git-send-email-dongli.zhang@oracle.com (mailing list archive)
State New, archived
Headers show
Series [1/1] blk-mq: remove unused 'nr_expired' from blk_mq_hw_ctx | expand

Commit Message

Dongli Zhang March 19, 2019, 3:05 p.m. UTC
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>
---
 include/linux/blk-mq.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Jens Axboe March 19, 2019, 3:06 p.m. UTC | #1
On 3/19/19 9:05 AM, Dongli Zhang wrote:
> 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").

Thanks, applied.
diff mbox series

Patch

diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h
index b0c814b..3535969 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;