aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorYihang Li <[email protected]>2023-07-11 11:15:00 +0800
committerMartin K. Petersen <[email protected]>2023-07-23 15:18:25 -0400
commit29f45ed18aa9b75b99126ea675dd29757b621073 (patch)
treeec48c0aceb17c49de2affb6f6d5a0d1ab27139bb /tools/perf/scripts/python/task-analyzer.py
parent32be33747d5dd46dde869de390e434f3deb25d2e (diff)
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 <[email protected]> Signed-off-by: Xiang Chen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions