scsi: lpfc: Remove shost_lock protection for fc_host_port shost APIs
authorJustin Tee <justin.tee@broadcom.com>
Wed, 31 Jan 2024 18:51:06 +0000 (10:51 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 6 Feb 2024 01:51:35 +0000 (20:51 -0500)
commit4be4ad6cd2371ffca86e4446feae3d8373e4b02a
tree483dc95225ecc25e6b7859e772c0acd54438e350
parent140bd888ed0dc192e858c68411ede16fff0fe5fb
scsi: lpfc: Remove shost_lock protection for fc_host_port shost APIs

Desiring to reduce the amount of unnecessary shost_lock acquisitions in the
lpfc driver, it has been determined that there is no need for shost_lock
protection when retrieving fc_host port information because it is only for
display to user via sysfs.

Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20240131185112.149731-12-justintee8345@gmail.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_attr.c