Commit b4e12f5
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>1 parent fdc5664 commit b4e12f5
1 file changed
+4
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2101 | 2101 | | |
2102 | 2102 | | |
2103 | 2103 | | |
2104 | | - | |
2105 | | - | |
2106 | | - | |
2107 | | - | |
2108 | | - | |
2109 | | - | |
2110 | | - | |
2111 | | - | |
2112 | 2104 | | |
2113 | 2105 | | |
2114 | 2106 | | |
| |||
2163 | 2155 | | |
2164 | 2156 | | |
2165 | 2157 | | |
2166 | | - | |
| 2158 | + | |
2167 | 2159 | | |
2168 | | - | |
| 2160 | + | |
| 2161 | + | |
| 2162 | + | |
2169 | 2163 | | |
2170 | 2164 | | |
2171 | 2165 | | |
| |||
0 commit comments