nvme: remove the call to nvme_update_disk_info in nvme_ns_remove
authorChristoph Hellwig <hch@lst.de>
Tue, 14 Sep 2021 07:06:57 +0000 (09:06 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 15 Sep 2021 02:03:30 +0000 (20:03 -0600)
commit9da4c7276ec5d167972d8f6670d64b59838b4ed2
tree722b8b005441c5b82f6c2b5b857a74bcd69f1129
parent3df49967f6f1d2121b0c27c381ca1c8386b1dab9
nvme: remove the call to nvme_update_disk_info in nvme_ns_remove

There is no need to explicitly unregister the integrity profile when
deleting the gendisk.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Link: https://lore.kernel.org/r/20210914070657.87677-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c