nvme-pci: remove nvme_disable_admin_queue
authorChristoph Hellwig <hch@lst.de>
Wed, 16 Nov 2022 07:59:55 +0000 (08:59 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 6 Dec 2022 13:36:54 +0000 (14:36 +0100)
commit47d42d229a181e52b32fa9c80aaa36cf8b6b46fc
treed738cc4aec098cfcf7287565bf32d5dc3ae4beec
parent285b6e9b571714270fa503d0e32f244d15b9f85f
nvme-pci: remove nvme_disable_admin_queue

nvme_disable_admin_queue has only a single caller, and just calls two
other funtions, so remove it to clean up the remove path a little more.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Eric Curtin <ecurtin@redhat.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/pci.c