1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-04 12:52:15 +00:00

Kill a few stray debug printfs.

This commit is contained in:
Warner Losh 2016-07-28 22:40:31 +00:00
parent f095d1bbc7
commit 34dc8f1bb4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=303466

View File

@ -133,8 +133,6 @@ nvme_sim_action(struct cam_sim *sim, union ccb *ccb)
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 *ns, void *sc_arg)
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 *ns, void *sc_arg)
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);