]> git.baikalelectronics.ru Git - kernel.git/commit
nvmet-fc: remove redundant del_work_active flag
authorJames Smart <jsmart2021@gmail.com>
Fri, 24 Jul 2020 16:40:48 +0000 (09:40 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 29 Jul 2020 05:45:20 +0000 (07:45 +0200)
commit0e782e119a67d6b759bc103b1adee4e70be745f2
treea73a9a29506b95d930f3a01663ecf7a6c5e18269
parent1dfb6523989838e70b5030f89ba59af1fb24fbff
nvmet-fc: remove redundant del_work_active flag

The transport has a del_work_active flag to avoid duplicate scheduling
of the del_work item. This is redundant with the checks that
schedule_work() makes.

Remove the del_work_active flag.

Signed-off-by: James Smart <jsmart2021@gmail.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/fc.c