Commit d471a075 authored by Ram Kumar Dwivedi's avatar Ram Kumar Dwivedi Committed by Martin K. Petersen
Browse files

scsi: ufs: ufs-qcom: Remove redundant re-assignment to hs_rate



Remove the redundant else block that assigns PA_HS_MODE_B to hs_rate, as
it is already assigned in ufshcd_init_host_params(). This avoids
unnecessary reassignment and prevents overwriting hs_rate when it is
explicitly set to a different value.

Reviewed-by: default avatarAlim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: default avatarRam Kumar Dwivedi <quic_rdwivedi@quicinc.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 91945660
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment