]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
xen/arch/x86/apic.c: remove custom_param() error messages
authorJuergen Gross <jgross@suse.com>
Mon, 28 Aug 2017 07:34:00 +0000 (09:34 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 28 Aug 2017 08:53:29 +0000 (10:53 +0200)
With _cmdline_parse() now issuing error messages in case of illegal
parameters signalled by parsing functions specified in custom_param()
the message issued by apic_set_verbosity() can be removed.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/apic.c

index 325b48074a8eb69946ddcd90f048e49710dc1ee7..2638414e08d0e94566bbbd358e07fe197d78928a 100644 (file)
@@ -800,11 +800,8 @@ static int __init apic_set_verbosity(const char *str)
         apic_verbosity = APIC_DEBUG;
     else if (strcmp("verbose", str) == 0)
         apic_verbosity = APIC_VERBOSE;
-    else {
-        printk(KERN_WARNING "APIC Verbosity level %s not recognised"
-               " use apic_verbosity=verbose or apic_verbosity=debug", str);
+    else
         return -EINVAL;
-    }
 
     return 0;
 }