Message ID | 20190913161621.1120-1-andrew.cooper3@citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | x86/vpmu: Drop "VPMU: disabled" message | expand |
On 13.09.2019 18:16, Andrew Cooper wrote: > Printing "$foo disabled" is unnecessary noise during boot. All other VPMU > settings emit a message, so this doesn't result in any ambiguity. > > Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Jan Beulich <jbeulich@suse.com>
diff --git a/xen/arch/x86/cpu/vpmu.c b/xen/arch/x86/cpu/vpmu.c index 375599aca5..f397183ec3 100644 --- a/xen/arch/x86/cpu/vpmu.c +++ b/xen/arch/x86/cpu/vpmu.c @@ -857,10 +857,7 @@ static int __init vpmu_init(void) int vendor = current_cpu_data.x86_vendor; if ( !opt_vpmu_enabled ) - { - printk(XENLOG_INFO "VPMU: disabled\n"); return 0; - } /* NMI watchdog uses LVTPC and HW counter */ if ( opt_watchdog && opt_vpmu_enabled )
Printing "$foo disabled" is unnecessary noise during boot. All other VPMU settings emit a message, so this doesn't result in any ambiguity. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> --- CC: Jan Beulich <JBeulich@suse.com> CC: Wei Liu <wl@xen.org> CC: Roger Pau Monné <roger.pau@citrix.com> --- xen/arch/x86/cpu/vpmu.c | 3 --- 1 file changed, 3 deletions(-)