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)
commit7c1ce408eb320b3d4051570d167852ffbd7778ce
treef700098c780598772cf0a894466f63f1123cf756
parentcee6c269b016ba89c62e34d6bccb103ee2c7de4f
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