From: Konrad Rzeszutek Wilk Date: Sun, 21 Jan 2018 12:53:57 +0000 (-0500) Subject: x86/spec: Don't print the Missing arguments for option spectre_v2. X-Git-Tag: v4.1.12-124.31.3~1237 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ae52f36d01ba97159965bc35005304ebc01ead55;p=users%2Fjedix%2Flinux-maple.git x86/spec: Don't print the Missing arguments for option spectre_v2. if not specified. There is no need for that at all. OraBug: 27448241 Reviewed-by: Boris Ostrovsky Reviewed-by: Liam Merwick Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/arch/x86/kernel/cpu/bugs_64.c b/arch/x86/kernel/cpu/bugs_64.c index 2a79f3692c6e..c0e809762c3f 100644 --- a/arch/x86/kernel/cpu/bugs_64.c +++ b/arch/x86/kernel/cpu/bugs_64.c @@ -111,8 +111,6 @@ static void __init spectre_v2_parse_cmdline(void) } else { spectre_v2_usage_error("Invalid"); } - } else { - spectre_v2_usage_error("Missing"); } return;