]> xenbits.xensource.com Git - people/liuw/xen.git/commitdiff
x86/vpmu: Drop "VPMU: disabled" message
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 13 Sep 2019 16:13:35 +0000 (17:13 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 17 Sep 2019 16:24:07 +0000 (17:24 +0100)
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>
xen/arch/x86/cpu/vpmu.c

index 375599aca5f4e56c6b52e447ca937cd4672710ee..f397183ec3963a09a048e15d8e653d2c6c8b4f06 100644 (file)
@@ -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 )