On 04/01/2022 12:42, chenxiang wrote:
From: Xiang Chen<chenxiang66@xxxxxxxxxxxxx> 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. Fixes: 29e2bac87421 ("scsi: hisi_sas: Fix some issues related to asd_sas_port->phy_list") Reported-by: Nathan Chancellor<nathan@xxxxxxxxxx> Reported-by: Colin King<colin.i.king@xxxxxxxxx> Signed-off-by: Xiang Chen<chenxiang66@xxxxxxxxxxxxx>
Acked-by: John Garry <john.garry@xxxxxxxxxx>