nvme-fc: remove err_work work item
authorJames Smart <james.smart@broadcom.com>
Fri, 23 Oct 2020 22:27:50 +0000 (15:27 -0700)
committerChristoph Hellwig <hch@lst.de>
Tue, 27 Oct 2020 09:01:39 +0000 (10:01 +0100)
commit9c2bb2577d81b1a09f7e342e947986e55cad18e3
tree206cbb1cd755ed04f462d934d21e2183873975b1
parentcaf1cbe3677576ef860f7bbba9074d0e6a0bcabb
nvme-fc: remove err_work work item

err_work was created to handle errors (mainly I/O timeouts) while in
CONNECTING state. The flag for err_work_active is also unneeded.

Remove err_work_active and err_work.  The actions to abort I/Os are moved
inline to nvme_error_recovery().

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