commit | 4c08edd305019061bf1ac95ce089497bdbb8b8ac | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@zytor.com> | Wed Nov 06 10:00:05 2013 -0800 |
committer | H. Peter Anvin <hpa@zytor.com> | Wed Nov 06 10:02:05 2013 -0800 |
tree | 4c558f44f1d493c51ab9546ea9a17110b0762dd1 | |
parent | d68ce0177c1e51fb332369e0c99852a6d05668af [diff] |
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 <kys@microsoft.com> Link: http://lkml.kernel.org/r/1381444224-3303-1-git-send-email-kys@microsoft.com Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>