From: Stephen Boyd Date: Thu, 20 Nov 2014 19:29:09 +0000 (+0100) Subject: ARM: 8215/1: vfp: Silence mvfr0 variable unused warning X-Git-Tag: omap-for-v3.20/drop-legacy-3517~102^2~1^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b94fe2ac97fdd2ae7521004e857e33016720eb7;p=pandora-kernel.git ARM: 8215/1: vfp: Silence mvfr0 variable unused warning Stephen Rothwell reports that commit 3f4c9f8f0a20 ("ARM: 8197/1: vfp: Fix VFPv3 hwcap detection on CPUID based cpus") introduced a variable unused warning. arch/arm/vfp/vfpmodule.c: In function 'vfp_init': arch/arm/vfp/vfpmodule.c:725:6: warning: unused variable 'mvfr0' [-Wunused-variable] u32 mvfr0; Silence this warning by using IS_ENABLED instead of ifdefs. Reported-by: Stephen Rothwell Signed-off-by: Stephen Boyd Signed-off-by: Russell King --- Reading git-diff-tree failed