summaryrefslogtreecommitdiff
path: root/drivers/ufs
diff options
context:
space:
mode:
authorYihang Li <liyihang9@huawei.com>2023-07-11 06:15:00 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2023-07-23 22:18:25 +0300
commit29f45ed18aa9b75b99126ea675dd29757b621073 (patch)
treeec48c0aceb17c49de2affb6f6d5a0d1ab27139bb /drivers/ufs
parent32be33747d5dd46dde869de390e434f3deb25d2e (diff)
downloadlinux-29f45ed18aa9b75b99126ea675dd29757b621073.tar.xz
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 'drivers/ufs')
0 files changed, 0 insertions, 0 deletions