]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Fix duplicate wq_create_version check
authorJames Smart <james.smart@broadcom.com>
Tue, 20 Oct 2020 20:27:15 +0000 (13:27 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 27 Oct 2020 01:42:38 +0000 (21:42 -0400)
commite1afa3b2270199de3362ae52c5ae4af0bd7cbda7
tree89fe6f2f56182d4d0cd63e648a7c482244ecee36
parentf7b37a189b8da2fdecb702fcd8f78a84542f98b2
scsi: lpfc: Fix duplicate wq_create_version check

During code reviews duplicate code sections were found to determine the WQ
Create version.  The duplication was potentially overriding logic that
validated page size.

Link: https://lore.kernel.org/r/20201020202719.54726-6-james.smart@broadcom.com
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_sli.c