diff options
| author | Xiang Chen <[email protected]> | 2022-01-04 12:42:06 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2022-01-07 14:09:39 +0000 |
| commit | 5d9224fb076e9a2023e0b06d6a164d644612c0c0 (patch) | |
| tree | 08c2840afb1364b2dcba47fbbb07e9786be6ac3c /lib/test_overflow.c | |
| parent | scsi: aic79xx: Remove redundant error variable (diff) | |
| download | kernel-5d9224fb076e9a2023e0b06d6a164d644612c0c0.tar.gz kernel-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/[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 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions
