Skip to content
Commit 2a8561b7 authored by Yue Hu's avatar Yue Hu Committed by Martin K. Petersen
Browse files

scsi: ufs: core: Remove unnecessary ret in ufshcd_populate_vreg()

The local variable 'ret' is always zero. Remove it and return 0 at the end
of the function.

Link: https://lore.kernel.org/r/20210310082741.647-1-zbestahu@gmail.com


Signed-off-by: default avatarYue Hu <huyue2@yulong.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 4517e77e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment