]> www.infradead.org Git - nvme.git/commit
nvme-tcp: simplify nvme_tcp_teardown_io_queues() nvme-6.13-2024-12-05
authorChunguang.xu <chunguang.xu@shopee.com>
Tue, 3 Dec 2024 03:34:43 +0000 (11:34 +0800)
committerKeith Busch <kbusch@kernel.org>
Wed, 4 Dec 2024 18:15:46 +0000 (10:15 -0800)
commitb4e12f5728ff963ca5590c48b85a20d076bf517d
tree6a33d512916159bd776473edccb096c45ce193e4
parentfdc5664c690f6e0ee235dbc6b1f17ec59aca55bd
nvme-tcp: simplify nvme_tcp_teardown_io_queues()

As nvme_tcp_teardown_io_queues() is the only one caller of
nvme_tcp_destroy_admin_queue(), so we can merge it into
nvme_tcp_teardown_io_queues() to simplify the code.

Signed-off-by: Chunguang.xu <chunguang.xu@shopee.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/tcp.c