Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jul 2016 22:40:32 +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: r303466 - head/sys/dev/nvme
Message-ID:  <201607282240.u6SMeWh6068258@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Thu Jul 28 22:40:31 2016
New Revision: 303466
URL: https://svnweb.freebsd.org/changeset/base/303466

Log:
  Kill a few stray debug printfs.

Modified:
  head/sys/dev/nvme/nvme_sim.c

Modified: head/sys/dev/nvme/nvme_sim.c
==============================================================================
--- head/sys/dev/nvme/nvme_sim.c	Thu Jul 28 22:30:48 2016	(r303465)
+++ head/sys/dev/nvme/nvme_sim.c	Thu Jul 28 22:40:31 2016	(r303466)
@@ -133,8 +133,6 @@ nvme_sim_action(struct cam_sim *sim, uni
 	ns = sim2ns(sim);
 	ctrlr = sim2ctrlr(sim);
 
-	printf("Sim action: ctrlr %p ns %p\n", ctrlr, ns);
-
 	mtx_assert(&ctrlr->lock, MA_OWNED);
 
 	switch (ccb->ccb_h.func_code) {
@@ -310,8 +308,6 @@ nvme_sim_new_ns(struct nvme_namespace *n
 
 	sc->s_ns = ns;
 
-	printf("Our SIM's softc %p ctrlr %p ns %p\n", sc, ctrlr, ns);
-
 	/*
 	 * XXX this is creating one bus per ns, but it should be one
 	 * XXX target per controller, and one LUN per namespace.
@@ -349,7 +345,6 @@ nvme_sim_new_ns(struct nvme_namespace *n
 	sc->s_path->device->nvme_cdata = nvme_ctrlr_get_data(ns->ctrlr);
 
 /* Scan bus */
-	printf("Initiate rescan of the bus\n");
 	nvme_sim_rescan_target(ctrlr, sc->s_path);
 
 	mtx_unlock(&ctrlr->lock);



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