]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-fc: remove setting DNR on exception conditions
authorJames Smart <jsmart2021@gmail.com>
Sat, 12 May 2018 00:50:24 +0000 (17:50 -0700)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 May 2018 14:50:12 +0000 (16:50 +0200)
commita6f18094ada87a093a40fe49ac8a9e488d769197
tree14e87104526c89ad0ec673a39a8fc4b879d73135
parentc1e391ba1e1632d7da51a51e39df81382640b9ee
nvme-fc: remove setting DNR on exception conditions

Current code will set DNR if the controller is deleting or there is
an error during controller init. None of this is necessary.

Remove the code that sets DNR

Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fc.c