From: Josh Cartwright Date: Fri, 20 Dec 2013 19:09:14 +0000 (-0800) Subject: ARM: msm: trout: fix uninit var warning X-Git-Tag: fixes-nc-for-linus~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4b4ecbda50379b587ccff81663f3235582e5c66;p=pandora-kernel.git ARM: msm: trout: fix uninit var warning Fix the following warning when !CONFIG_MMC: arch/arm/mach-msm/board-trout.c: In function 'trout_init': arch/arm/mach-msm/board-trout.c:67:6: warning: unused variable 'rc' [-Wunused-variable] int rc; ^ Also, while we're here, rework explicit printk(KERN_CRIT..) to use pr_crit. Signed-off-by: Josh Cartwright Signed-off-by: David Brown Signed-off-by: Olof Johansson --- Reading git-diff-tree failed