diff options
author | Chunguang.xu <chunguang.xu@shopee.com> | 2024-12-03 06:39:55 +0300 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2024-12-28 00:33:48 +0300 |
commit | 36e3b1f9abe359b2bc25e81bc47b64354e42c9b1 (patch) | |
tree | 6a06ecf304dddb75390d7d2199960c0a64dfc730 /rust/kernel/workqueue.rs | |
parent | 74d16965d7ac378d28ebd833ae6d6a097186a4ec (diff) | |
download | linux-36e3b1f9abe359b2bc25e81bc47b64354e42c9b1.tar.xz |
nvme-tcp: remove nvme_tcp_destroy_io_queues()
Now when destroying the IO queue we call nvme_tcp_stop_io_queues()
twice, nvme_tcp_destroy_io_queues() has an unnecessary call. Here we
try to remove nvme_tcp_destroy_io_queues() and merge it into
nvme_tcp_teardown_io_queues(), simplify the code and align with
nvme-rdma, make it easy to maintaince.
Signed-off-by: Chunguang.xu <chunguang.xu@shopee.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'rust/kernel/workqueue.rs')
0 files changed, 0 insertions, 0 deletions