From: H. Peter Anvin Date: Wed, 6 Nov 2013 18:00:05 +0000 (-0800) Subject: x86, hyperv: Move a variable to avoid an unused variable warning X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~31^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c08edd305019061bf1ac95ce089497bdbb8b8ac;p=pandora-kernel.git x86, hyperv: Move a variable to avoid an unused variable warning The variable hv_lapic_frequency causes an unused variable warning if CONFIG_X86_LOCAL_APIC is disabled. Since the variable is only used inside a small if statement, move the declaration of that variable into the if statement itself. Cc: K. Y. Srinivasan Link: http://lkml.kernel.org/r/1381444224-3303-1-git-send-email-kys@microsoft.com Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed