aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorYihang Li <liyihang9@huawei.com>2023-07-11 11:15:00 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2023-07-23 15:18:25 -0400
commit29f45ed18aa9b75b99126ea675dd29757b621073 (patch)
treeec48c0aceb17c49de2affb6f6d5a0d1ab27139bb /tools/perf/scripts/python/bin
parentscsi: hisi_sas: Block requests before a debugfs snapshot (diff)
downloadlinux-29f45ed18aa9b75b99126ea675dd29757b621073.tar.gz
linux-29f45ed18aa9b75b99126ea675dd29757b621073.zip
scsi: hisi_sas: Delete unused lock in hisi_sas_port_notify_formed()
Currently spinlock hisi_hba->lock is used by both interrupts and threads which requires the use of spin_lock_irqsave()/spin_unlock_irqrestore(). However, some places still use spin_lock()/spin_unlock(). Reviewing the code revealed that it is unnecessary to use hisi_hba->lock in the function hisi_sas_port_notify_formed() which is the only place that uses the spinlock in interrupt context. So delete unused lock in hisi_sas_port_notify_formed(). Signed-off-by: Yihang Li <liyihang9@huawei.com> Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com> Link: https://lore.kernel.org/r/1689045300-44318-4-git-send-email-chenxiang66@hisilicon.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions