Skip to content
Commit b4e12f57 authored by Chunguang.xu's avatar Chunguang.xu Committed by Keith Busch
Browse files

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: default avatarChunguang.xu <chunguang.xu@shopee.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarHannes Reinecke <hare@suse.de>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent fdc5664c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment