From: Dolev Raviv Date: Thu, 23 Oct 2014 10:25:16 +0000 (+0300) Subject: scsi: ufs: fix static checker warning in __ufshcd_setup_clocks X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~54^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eda910e4d03af878482055ce511a522d9bbda0e8;p=pandora-kernel.git 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: Dolev Raviv Reviewed-by: Maya Erez Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed