[PATCH openEuler-5.10 16/60] scsi: libsas: Refactor sas_ata_hard_reset()