Commit d471a07
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: Alim Akhtar <[email protected]>
Signed-off-by: Ram Kumar Dwivedi <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>1 parent 9194566 commit d471a07
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
| 497 | + | |
| 498 | + | |
503 | 499 | | |
504 | 500 | | |
505 | 501 | | |
| |||
0 commit comments