From: Cyrill Gorcunov Date: Fri, 12 Sep 2008 19:58:24 +0000 (+0400) Subject: x86: apic - fix unused vars warning in calibrate_APIC_clock X-Git-Tag: v2.6.28-rc1~80^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b189892de4da4634560657aedd774752094dbfa0;p=pandora-kernel.git x86: apic - fix unused vars warning in calibrate_APIC_clock 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed