]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 13 Jul 2016 07:44:01 +0000 (00:44 -0700)
commit1f37f749e4a52e565b5f8a484847c3b41f7cfd9a
treefd91b12df074e015b1088b83af623ece94fc4ff6
parent26be161cdbd3961e19655ce3dda214f168800d0a
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>
Orabug: 23762058
(cherry picked from commit 19db2307365231e798bb99324ed553bcada57913)
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/scsi/lpfc/lpfc_scsi.c