OSDN Git Service

x86/tsc_msr: Remove debugging messages
authorLen Brown <len.brown@intel.com>
Fri, 17 Jun 2016 05:22:45 +0000 (01:22 -0400)
committerIngo Molnar <mingo@kernel.org>
Sun, 10 Jul 2016 15:00:13 +0000 (17:00 +0200)
commit14bb4e34860af48ef1ea0f52b11611ce4db987fe
tree0d40b2413323ee87d883fb961a11926f56283d99
parentba8268330dc18d309a39175ea4d2c5d86c2cef09
x86/tsc_msr: Remove debugging messages

Debugging messages are not necessary after all of the
possible hardware failures that never occur.
Instead, this code can simply return 0.

This code also doesn't need to print in the success case.
tsc_init() already prints the TSC frequency,
and apic=debug is available if anybody really is
interested in printing the LAPIC frequency.

Signed-off-by: Len Brown <len.brown@intel.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/cf03279a125b95dfa9b8d3d5b4a66de09cd04050.1466138954.git.len.brown@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/tsc_msr.c