x86: apic - fix unused vars warning in calibrate_APIC_clock
authorCyrill Gorcunov <gorcunov@gmail.com>
Fri, 12 Sep 2008 19:58:24 +0000 (23:58 +0400)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:53:10 +0000 (16:53 +0200)
If we don't have CONFIG_X86_PM_TIMER=y compiler warns about
unused variables. Move PM timer based calibration into a
separate function and make the code cleaner and the compiler
happy as well.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found