svn commit: r350932 - stable/12/sys/dev/nvme

Alexander Motin mav at FreeBSD.org
Mon Aug 12 18:52:11 UTC 2019


Author: mav
Date: Mon Aug 12 18:52:10 2019
New Revision: 350932
URL: https://svnweb.freebsd.org/changeset/base/350932

Log:
  MFC r350094 (by imp): Remove now-obsolete comment.

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

Modified: stable/12/sys/dev/nvme/nvme.c
==============================================================================
--- stable/12/sys/dev/nvme/nvme.c	Mon Aug 12 18:51:35 2019	(r350931)
+++ stable/12/sys/dev/nvme/nvme.c	Mon Aug 12 18:52:10 2019	(r350932)
@@ -452,8 +452,7 @@ nvme_register_consumer(nvme_cons_ns_fn_t ns_fn, nvme_c
 	int i;
 
 	/*
-	 * TODO: add locking around consumer registration.  Not an issue
-	 *  right now since we only have one nvme consumer - nvd(4).
+	 * TODO: add locking around consumer registration.
 	 */
 	for (i = 0; i < NVME_MAX_CONSUMERS; i++)
 		if (nvme_consumer[i].id == INVALID_CONSUMER_ID) {


More information about the svn-src-stable mailing list