]> www.infradead.org Git - nvme.git/commitdiff
ublk: remove two unused fields from 'struct ublk_queue'
authorMing Lei <ming.lei@redhat.com>
Thu, 27 Mar 2025 09:51:12 +0000 (17:51 +0800)
committerKeith Busch <kbusch@kernel.org>
Mon, 31 Mar 2025 15:48:24 +0000 (08:48 -0700)
Remove two unused fields(`io_addr` & `max_io_sz`) from `struct ublk_queue`.

Reviewed-by: Caleb Sander Mateos <csander@purestorage.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250327095123.179113-4-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/ublk_drv.c

index 5b0c885dc38f0f21d977ac114d8aaa36f353ce6e..b60f4bd647a175fdad713ca40478db5966ffe532 100644 (file)
@@ -143,8 +143,6 @@ struct ublk_queue {
        struct task_struct      *ubq_daemon;
        char *io_cmd_buf;
 
-       unsigned long io_addr;  /* mapped vm address */
-       unsigned int max_io_sz;
        bool force_abort;
        bool timeout;
        bool canceling;