From: Dolev Raviv Date: Thu, 23 Oct 2014 10:25:17 +0000 (+0300) Subject: scsi: ufs: fix static checker warning in ufshcd_parse_clock_info X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~54^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8cb64db81e8c88c5c824ca74c2e57b4c6919ca6;p=pandora-kernel.git scsi: ufs: fix static checker warning in ufshcd_parse_clock_info This patch fixes newly introduced static checker warning in ufshcd_parse_clock_info, introduced by UFS power management series. Warning: drivers/scsi/ufs/ufshcd-pltfrm.c:138 ufshcd_parse_clock_info() warn: passing devm_ allocated variable to kfree. 'clkfreq' To fix it we remove the kfree(clkfreq) statement. In addition we removed the redundant goto label. Signed-off-by: Dolev Raviv Reviewed-by: Maya Erez Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed