nvme-loop: Remove duplicate call to nvme_remove_namespaces
authorSagi Grimberg <sagi@grimberg.me>
Sun, 24 Jul 2016 06:32:08 +0000 (09:32 +0300)
committerSagi Grimberg <sagi@grimberg.me>
Wed, 3 Aug 2016 13:25:19 +0000 (16:25 +0300)
commita159c64d936eb0d1da29d8ad384183d8984899c9
tree3df0082b6a728199990442ba89d2f6ce0aef8ff9
parenta34ca17a9717fe607cd58285a1704cb6526cf561
nvme-loop: Remove duplicate call to nvme_remove_namespaces

nvme_uninit_ctrl already does that for us. Note that we
reordered nvme_loop_shutdown_ctrl with nvme_uninit_ctrl
but its safe because we want controller uninit to happen
before we shutdown the transport resources.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/loop.c