]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: refactor nvme_disable_io_queues
authorChristoph Hellwig <hch@lst.de>
Sun, 2 Dec 2018 16:46:21 +0000 (17:46 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 4 Dec 2018 18:38:18 +0000 (11:38 -0700)
commit713887b5c28f829de36711f961d99fb3e1eb0970
tree8be81f2ecdf3b0fe0f6a346abddc233127b26c92
parent0b1cb79d8d7179cfa26504b3cd57eba17dadcdc3
nvme-pci: refactor nvme_disable_io_queues

Pass the opcode for the delete SQ/CQ command as an argument instead of
the somewhat confusing pass loop.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/pci.c