diff options
author | Justin Tee <justin.tee@broadcom.com> | 2023-10-31 12:12:19 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-11-15 09:52:57 -0500 |
commit | e07ac2d2aa5fce0cefe7273f6b9babec1e9a1503 (patch) | |
tree | 1373bebecd68dd164ebdc8e4e887cecc019c2a9e /scripts/gdb/linux/utils.py | |
parent | 1dec1311b9b6cc9c5fd26a77b936f542f03c51d1 (diff) |
scsi: lpfc: Eliminate unnecessary relocking in lpfc_check_nlp_post_devloss()
In lpfc_check_nlp_post_devloss(), retaking of the ndlp lock in the if
statement is useless because the very next line unlocks. Simply return to
avoid relocking.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20231031191224.150862-5-justintee8345@gmail.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions