Commit 36e3b1f
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>1 parent 74d1696 commit 36e3b1f
1 file changed
+7
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2024 | 2024 | | |
2025 | 2025 | | |
2026 | 2026 | | |
2027 | | - | |
2028 | | - | |
2029 | | - | |
2030 | | - | |
2031 | | - | |
2032 | | - | |
2033 | | - | |
2034 | | - | |
2035 | 2027 | | |
2036 | 2028 | | |
2037 | 2029 | | |
| |||
2176 | 2168 | | |
2177 | 2169 | | |
2178 | 2170 | | |
2179 | | - | |
| 2171 | + | |
2180 | 2172 | | |
2181 | | - | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
2182 | 2176 | | |
2183 | 2177 | | |
2184 | 2178 | | |
| |||
2267 | 2261 | | |
2268 | 2262 | | |
2269 | 2263 | | |
2270 | | - | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
2271 | 2267 | | |
2272 | 2268 | | |
2273 | 2269 | | |
| |||
0 commit comments