Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Mar 2020 17:40:30 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r358590 - head/sys/cam
Message-ID:  <202003031740.023HeUbL025565@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Tue Mar  3 17:40:29 2020
New Revision: 358590
URL: https://svnweb.freebsd.org/changeset/base/358590

Log:
  Get rid of silly /* FALLTHROUGH */ lines
  
  Consistently omit /* FALLTHROUGH */ when we have a case statement that does
  nothing. Since compilers don't warn about stacked case statements, and we were
  inconsistent, resolve by removing extras.

Modified:
  head/sys/cam/cam_xpt.c

Modified: head/sys/cam/cam_xpt.c
==============================================================================
--- head/sys/cam/cam_xpt.c	Tue Mar  3 17:35:15 2020	(r358589)
+++ head/sys/cam/cam_xpt.c	Tue Mar  3 17:40:29 2020	(r358590)
@@ -2686,11 +2686,8 @@ xpt_action_default(union ccb *start_ccb)
 			start_ccb->ataio.resid = 0;
 		/* FALLTHROUGH */
 	case XPT_NVME_IO:
-		/* FALLTHROUGH */
 	case XPT_NVME_ADMIN:
-		/* FALLTHROUGH */
 	case XPT_MMC_IO:
-		/* FALLTHROUGH */
 	case XPT_RESET_DEV:
 	case XPT_ENG_EXEC:
 	case XPT_SMP_IO:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003031740.023HeUbL025565>