[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200224172451.21320-1-dongli.zhang@oracle.com>
Date: Mon, 24 Feb 2020 09:24:51 -0800
From: Dongli Zhang <dongli.zhang@...cle.com>
To: linux-block@...r.kernel.org
Cc: axboe@...nel.dk, linux-kernel@...r.kernel.org
Subject: [PATCH 1/1] null_blk: remove unused 'll_list' in 'nullb_cmd'
The 'll_list' is no longer used since commit 3c395a969acc ("null_blk: set a
separate timer for each command").
Signed-off-by: Dongli Zhang <dongli.zhang@...cle.com>
---
drivers/block/null_blk.h | 1 -
drivers/block/null_blk_main.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/drivers/block/null_blk.h b/drivers/block/null_blk.h
index bc837862b767..34fec8814bf1 100644
--- a/drivers/block/null_blk.h
+++ b/drivers/block/null_blk.h
@@ -15,7 +15,6 @@
struct nullb_cmd {
struct list_head list;
- struct llist_node ll_list;
struct __call_single_data csd;
struct request *rq;
struct bio *bio;
diff --git a/drivers/block/null_blk_main.c b/drivers/block/null_blk_main.c
index 16510795e377..07301c72b102 100644
--- a/drivers/block/null_blk_main.c
+++ b/drivers/block/null_blk_main.c
@@ -1519,7 +1519,6 @@ static int setup_commands(struct nullb_queue *nq)
for (i = 0; i < nq->queue_depth; i++) {
cmd = &nq->cmds[i];
INIT_LIST_HEAD(&cmd->list);
- cmd->ll_list.next = NULL;
cmd->tag = -1U;
}
--
2.17.1
Powered by blists - more mailing lists