diff options
author | Xiang Chen <[email protected]> | 2022-01-04 20:42:06 +0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-01-07 09:09:39 -0500 |
commit | 5d9224fb076e9a2023e0b06d6a164d644612c0c0 (patch) | |
tree | 08c2840afb1364b2dcba47fbbb07e9786be6ac3c /net/lapb/lapb_timer.c | |
parent | c3b48443ba7c4467d44f7faa16fea204ea6c239c (diff) |
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/[email protected]
Fixes: 29e2bac87421 ("scsi: hisi_sas: Fix some issues related to asd_sas_port->phy_list")
Reported-by: Nathan Chancellor <[email protected]>
Reported-by: Colin King <[email protected]>
Acked-by: John Garry <[email protected]>
Signed-off-by: Xiang Chen <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions