commit | b058fa868234fe835af4e3887b4f0d018a9220ed | [log] [tgz] |
---|---|---|
author | Stanley Chu <stanley.chu@mediatek.com> | Wed Jan 20 23:01:41 2021 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Wed Jan 20 22:29:38 2021 -0500 |
tree | 6e4bf6649c8b6e4823d96e9af0e3843dd4f0e536 | |
parent | f9a7fa345aec28bc1c15a55572e016bbeb5f4254 [diff] |
scsi: ufs: Remove redundant null checking of devfreq instance hba->devfreq is zero-initialized thus it is not required to check its existence in ufshcd_add_lus() function which is invoked during initialization only. Link: https://lore.kernel.org/r/20210120150142.5049-3-stanley.chu@mediatek.com Reviewed-by: Can Guo <cang@codeaurora.org> Signed-off-by: Stanley Chu <stanley.chu@mediatek.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>