diff options
| author | H. Peter Anvin <[email protected]> | 2013-11-06 18:00:05 +0000 |
|---|---|---|
| committer | H. Peter Anvin <[email protected]> | 2013-11-06 18:02:05 +0000 |
| commit | 4c08edd305019061bf1ac95ce089497bdbb8b8ac (patch) | |
| tree | 4c558f44f1d493c51ab9546ea9a17110b0762dd1 /drivers/pci/hotplug/ibmphp_hpc.c | |
| parent | x86, hyperv: Fix build error due to missing <asm/apic.h> include (diff) | |
| download | kernel-4c08edd305019061bf1ac95ce089497bdbb8b8ac.tar.gz kernel-4c08edd305019061bf1ac95ce089497bdbb8b8ac.zip | |
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 <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'drivers/pci/hotplug/ibmphp_hpc.c')
0 files changed, 0 insertions, 0 deletions
