summaryrefslogtreecommitdiffstats
path: root/drivers/comedi
diff options
context:
space:
mode:
authorXiang Chen <chenxiang66@hisilicon.com>2022-01-04 20:42:06 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2022-01-07 09:09:39 -0500
commit5d9224fb076e9a2023e0b06d6a164d644612c0c0 (patch)
tree08c2840afb1364b2dcba47fbbb07e9786be6ac3c /drivers/comedi
parentc3b48443ba7c4467d44f7faa16fea204ea6c239c (diff)
downloadlinux-stable-5d9224fb076e9a2023e0b06d6a164d644612c0c0.tar.gz
linux-stable-5d9224fb076e9a2023e0b06d6a164d644612c0c0.tar.bz2
linux-stable-5d9224fb076e9a2023e0b06d6a164d644612c0c0.zip
scsi: hisi_sas: Remove unused variable and check in hisi_sas_send_ata_reset_each_phy()
In commit 29e2bac87421 ("scsi: hisi_sas: Fix some issues related to asd_sas_port->phy_list"), we use asd_sas_port->phy_mask instead of accessing asd_sas_port->phy_list, and it is enough to use asd_sas_port->phy_mask to check the state of phy, so remove the unused check and variable. Link: https://lore.kernel.org/r/1641300126-53574-1-git-send-email-chenxiang66@hisilicon.com Fixes: 29e2bac87421 ("scsi: hisi_sas: Fix some issues related to asd_sas_port->phy_list") Reported-by: Nathan Chancellor <nathan@kernel.org> Reported-by: Colin King <colin.i.king@gmail.com> Acked-by: John Garry <john.garry@huawei.com> Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/comedi')
0 files changed, 0 insertions, 0 deletions