Skip to content
Commit eda910e4 authored by Dolev Raviv's avatar Dolev Raviv Committed by Christoph Hellwig
Browse files

scsi: ufs: fix static checker warning in __ufshcd_setup_clocks



This patch fixes newly introduced static checker warning in
__ufshcd_setup_clocks, introduced by UFS power management series.

Warning:
drivers/scsi/ufs/ufshcd.c:4474 __ufshcd_setup_clocks()
warn: we tested 'ret' before and it was 'false'

To fix it we remove the (!ret) from the condition.

Signed-off-by: default avatarDolev Raviv <draviv@codeaurora.org>
Reviewed-by: default avatarMaya Erez <merez@codeaurora.org>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 758581b9
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