svn commit: r335139 - stable/11/sys/dev/nvme

Alexander Motin mav at FreeBSD.org
Thu Jun 14 14:50:32 UTC 2018


Author: mav
Date: Thu Jun 14 14:50:30 2018
New Revision: 335139
URL: https://svnweb.freebsd.org/changeset/base/335139

Log:
  MFC r313954 (by imp): Remove obsolete comment after prior rev.

Modified:
  stable/11/sys/dev/nvme/nvme_sim.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/nvme/nvme_sim.c
==============================================================================
--- stable/11/sys/dev/nvme/nvme_sim.c	Thu Jun 14 14:46:20 2018	(r335138)
+++ stable/11/sys/dev/nvme/nvme_sim.c	Thu Jun 14 14:50:30 2018	(r335139)
@@ -153,14 +153,6 @@ nvme_sim_action(struct cam_sim *sim, union ccb *ccb)
 		 */
 		/*FALLTHROUGH*/
 	case XPT_ABORT:			/* Abort the specified CCB */
-	case XPT_EN_LUN:		/* Enable LUN as a target */
-	case XPT_TARGET_IO:		/* Execute target I/O request */
-	case XPT_ACCEPT_TARGET_IO:	/* Accept Host Target Mode CDB */
-	case XPT_CONT_TARGET_IO:	/* Continue Host Target I/O Connection*/
-		/*
-		 * Only target mode generates these, and only for SCSI. They are
-		 * all invalid/unsupported for NVMe.
-		 */
 		ccb->ccb_h.status = CAM_REQ_INVALID;
 		break;
 	case XPT_SET_TRAN_SETTINGS:


More information about the svn-src-stable-11 mailing list