aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_init.c
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2019-10-18 14:18:24 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2019-10-24 21:02:05 -0400
commit22770cbabf6bb77a397d9f11d41f97667dd0caa2 (patch)
tree61cc7f2ff48f6197e965f6281cd1a929843b9cd6 /drivers/scsi/lpfc/lpfc_init.c
parentscsi: lpfc: fix coverity error of dereference after null check (diff)
downloadlinux-dev-22770cbabf6bb77a397d9f11d41f97667dd0caa2.tar.xz
linux-dev-22770cbabf6bb77a397d9f11d41f97667dd0caa2.zip
scsi: lpfc: Slight fast-path performance optimizations
Slightly rework some error check code paths for better streamlining. Added compiler unlikely hints to allow slightly better optimization of the fast-path. Removed a few pointer checks that were obviously already valid. Link: https://lore.kernel.org/r/20191018211832.7917-9-jsmart2021@gmail.com Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions