public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/cpu: Drop needless fall-through comment
@ 2018-01-18 18:43 Kees Cook
  0 siblings, 0 replies; only message in thread
From: Kees Cook @ 2018-01-18 18:43 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: David Woodhouse, Andy Lutomirski, x86, Greg Kroah-Hartman,
	linux-kernel

This fall-through comment is both misspelled and unneeded (it appears
between case statements, not between operations before a case statement).

Signed-off-by: Kees Cook <keescook@chromium.org>
---
 arch/x86/kernel/cpu/bugs.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/kernel/cpu/bugs.c b/arch/x86/kernel/cpu/bugs.c
index 390b3dc3d438..19056f7f1fa7 100644
--- a/arch/x86/kernel/cpu/bugs.c
+++ b/arch/x86/kernel/cpu/bugs.c
@@ -191,7 +191,6 @@ static void __init spectre_v2_select_mitigation(void)
 		return;
 
 	case SPECTRE_V2_CMD_FORCE:
-		/* FALLTRHU */
 	case SPECTRE_V2_CMD_AUTO:
 		goto retpoline_auto;
 
-- 
2.7.4


-- 
Kees Cook
Pixel Security

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-18 18:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-18 18:43 [PATCH] x86/cpu: Drop needless fall-through comment Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox