[PATCH V2 1/6] ublk_drv: remove nr_aborted_queues from ublk_device

Ming Lei
2022-11-24T03:06:05Z

No one uses 'nr_aborted_queues' any more, so remove it.

Reviewed-by: ZiyangZhang <ZiyangZhang@linux.alibaba.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
---
drivers/block/ublk_drv.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/block/ublk_drv.c b/drivers/block/ublk_drv.c
index e9de9d846b73..30db5e5edac4 100644
--- a/drivers/block/ublk_drv.c
+++ b/drivers/block/ublk_drv.c
@@ -159,7 +159,6 @@ struct ublk_device {

struct completion completion;
unsigned int nr_queues_ready;
- atomic_t nr_aborted_queues;

/*
* Our ubq->daemon may be killed without any notification, so
--
2.31.1