scsi: lpfc: remove duplicate unloading checks
authorJames Smart <jsmart2021@gmail.com>
Tue, 21 Apr 2020 20:33:54 +0000 (13:33 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 22 Apr 2020 04:11:48 +0000 (00:11 -0400)
commite304142c308979fff404a38118878679ca58a2ba
tree31a483021e545f67d376844b594d969df7bc7c5a
parent355f46b97dacce6e5da436822c449db000744eac
scsi: lpfc: remove duplicate unloading checks

During code reviews several instances of duplicate module unloading checks
were found.

Remove the duplicate checks.

Link: https://lore.kernel.org/r/20200421203354.49420-1-jsmart2021@gmail.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_nvme.c
drivers/scsi/lpfc/lpfc_nvmet.c