ublk_drv: remove nr_aborted_queues from ublk_device
authorMing Lei <ming.lei@redhat.com>
Fri, 6 Jan 2023 04:17:06 +0000 (12:17 +0800)
committerJens Axboe <axboe@kernel.dk>
Sun, 29 Jan 2023 22:18:34 +0000 (15:18 -0700)
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>
Link: https://lore.kernel.org/r/20230106041711.914434-2-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/ublk_drv.c

index e546932..4232089 100644 (file)
@@ -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