]> git.baikalelectronics.ru Git - kernel.git/commit
lpfc: Remove redundant code block in lpfc_scsi_cmd_iocb_cmpl
authorJohannes Thumshirn <jthumshirn@suse.de>
Wed, 20 Jan 2016 15:08:40 +0000 (16:08 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 24 Feb 2016 02:27:02 +0000 (21:27 -0500)
commit61c0f8931debddde4350114d4fb24e8d706f02ea
tree0086276c8468f1217dad9c24ca4eea0b870dc25d
parentd62d0d520c03a8609b785a76dc2eefd3ddc46134
lpfc: Remove redundant code block in lpfc_scsi_cmd_iocb_cmpl

This removes a redundant code block that will either be executed if the
ENABLE_FCP_RING_POLLING flag is set in phba->cfg_poll or not. The code
is just duplicated in both cases, hence we unify it again.

This probably is a left over from some sort of refactoring.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Sebastian Herbszt <herbszt@gmx.de>
Acked-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_scsi.c