]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: clean up nvme_remove_dead_ctrl a bit
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Sat, 8 Jun 2019 20:16:32 +0000 (13:16 -0700)
committerChristoph Hellwig <hch@lst.de>
Fri, 21 Jun 2019 09:08:39 +0000 (11:08 +0200)
commit3528718101f04b35c693cf72f707e80236403a41
treef700098c780598772cf0a894466f63f1123cf756
parente60bd9e8bd34a13580c057dfada353503ad6eb9a
nvme-pci: clean up nvme_remove_dead_ctrl a bit

Remove the status parameter o nvme_remove_dead_ctrl(), which is only
used for printing it.

We move the print message to the same function where actual error is
occurring.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c